host.errors
List every error code this host can return, each with its class (agent_fault | host_refusal | upstream_fault | plan_limit | host_fault), family, remedy, docs anchor, retryable flag and help_url -- the same object GET /errors.json serves. Pass code to get one row; a misspelt code answers tool_not_found with did_you_mean. Read-only, anonymous, no tenant data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | An error code, e.g. tool_exception. Omit to list every code. | |
| tenant_key | No | The key `signup` returned. Optional on the connection that ran signup (or host.redeem): that connection is already bound to the tenant it created, so later calls on it need no tenant_key. On a connection with no Authorization: Bearer header and no prior signup, omitting it implicitly signs that connection up as a brand-new tenant and runs this call as it -- see host.whoami's source field. When both a header and this argument are present, the header wins. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| class | No | ||
| codes | No | ||
| family | No | ||
| remedy | No | ||
| classes | No | ||
| version | No | ||
| help_url | No | ||
| retryable | No | ||
| docs_anchor | No |