Errors
What a client receives when a request can't be served.
Tool errors come back as a tool result with isError: true and a structuredContent.error code, so the assistant can explain them.
| Code | When | What to tell the user |
|---|---|---|
connection_revoked |
The user revoked this connection | No context can be read |
connection_paused |
Paused by the user | Ask them to resume it |
connection_paused_over_limit |
Plan has fewer connection slots | Resumes automatically when there’s room |
connection_expired |
Past its expiry | They can extend it in UNACI |
scope_denied |
Space not in this connection | They can widen the connection |
clarification_needed |
Ambiguous Space name | Ask which candidate |
not_found |
No Space with that name | Show the available names |
rate_limited |
Over 120 calls a minute | Retry after retry_after seconds |
HTTP-level: 401 with a WWW-Authenticate header pointing at the protected-resource metadata when the token is missing or invalid. JSON-RPC errors use the standard codes (-32700, -32600, -32601, -32602, -32603); internal errors include a request_id.