diff options
Diffstat (limited to 'docs/PROTOCOL.md')
| -rw-r--r-- | docs/PROTOCOL.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 47f6f26..16fd2c5 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -202,6 +202,15 @@ Cursors are opaque. ## 6. Discovery +The discovery commands themselves: + +| Command | Auth | Result | +|---|---|---| +| `health` | public | `{"status":"ok"}` | +| `meta` | public | server version, protocol version `1`, features, limits, `tcp_enabled`, `time` | +| `describe` | authenticated | full command catalogue; `{"cmd":"voucher.post"}` returns one entry | +| `agent.instructions` | authenticated | Markdown workflow rules (see 6.3) | + ### 6.1 `meta` / `health` (unauthenticated) `meta` returns server version, protocol version `1`, enabled features @@ -256,6 +265,7 @@ Arguments are shown abbreviated; `describe` is authoritative. | `session.open` | `method`, `username`, `password`, `token` | `session`, `user`, `orgs[]`, `active_org` | | `session.close` | — | `{}` | | `session.whoami` | — | `user`, `active_org`, `role`, `scopes` | +| `session.list_orgs` | — | `items[{id,name,role}]` | | `session.use_org` | `org` | `active_org`, `role` | | `org.create` | `name`, `org_nr?`, `fiscal_year_start_month?`, `moms_period?`, `framework?` | `org` | | `org.get` / `org.list` | `org?` | `org` / `items[]` | |
