Error codes
Response format
Errors include anerror_type field in the data payload:
Behavior
AUTHORIZATION_DENIED
Returned when:- The agent calls a tool not in its policy
- The agent calls a tool with arguments that violate an argument policy
- The agent calls a tool that doesn’t exist on any server it has access to