status_for_situation
Find the HTTP status code that matches a described situation, when the code is not known in advance — for example 'the caller is being rate limited' or 'upstream returned garbage'. ($0.005 per call)
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": {
"situation": "<situation>"
},
"name": "status_for_situation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| situation | Yes | free text describing what went wrong |