Set an agent’s termination status to block or unblock all tool calls.
"terminate".active, terminated, idle.| Code | HTTP | Meaning |
|---|---|---|
AGENT_NOT_FOUND | 404 | Agent ID doesn’t exist or you don’t have access. |
AUTH_REQUIRED | 401 | Missing or invalid user token. |
FORBIDDEN | 403 | You don’t have permission to terminate this agent (requires Operator role or above). |
RATE_LIMITED | 429 | Too many requests. |
before_tool_call hook.