Get an error code
get_errorOne error code from the error catalog: its HTTP status, what it means, what to do, and whether a retry is safe. Pass the code from a problem details body (e.g. client_not_found).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "get_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The error `code`, e.g. client_not_found. |