Skip to main content

REST API Status Codes

MCP Tool Errors

MCP tool failures return structured error fields (error_code, message, retryable, and hint) so the agent knows whether to retry automatically or ask the user. When retrying create_request after a timeout or server error, reuse the same idempotency_key.