explain_api_error
Explains documented HTTP status semantics for API errors, separates possible causes into hypotheses, and optionally validates a synthetic request payload; avoids inferring causes for HTTP 500.
Instructions
Explain documented status semantics, separate hypotheses, and optionally validate a synthetic payload. Never echoes response messages or infers a cause for HTTP 500.
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": {
"httpStatus": "<httpStatus>"
},
"name": "explain_api_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| httpStatus | Yes | ||
| responseBody | No | ||
| requestPayload | No |