{"detail": {"code": "needs_approval", "message": "..."}}
| Status | Code | What it means |
|---|---|---|
| 401 | bad_key, bad_token | The key or sign-in is wrong, revoked or replaced. |
| 403 | not_allowed | This key may not call this tool, or it is read-only. |
| 403 | missing_scope | The project key lacks the memory (or actions) scope. |
| 404 | no_such_tool | No tool with that name. |
| 404 | user_not_found | No such user of your app yet. Save something first. |
| 409 | needs_approval | Ask the person, then send "approved": true. See Tools that ask first. |
| 422 | bad_arguments | The arguments don’t match the tool’s schema. |
| 400 | tool_error | The tool said no, in its own words (for example: memory is full). |
| 429 | rate_limited | Too many requests. Wait and try again. |