get_error_codes
Retrieve machine-readable error codes from the API to handle errors programmatically without parsing free-text messages.
Instructions
Get the machine-readable catalog of all error codes this API can return (e.g. TIMEOUT, CONTENT_FILTERED, RATE_LIMITED, L402_REFUND_ISSUED, L402_AUTO_ROUTED). Agents should branch on error_code rather than parsing free-text messages. No payment required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_error_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||