Validate a response against the spec
validate_responseVerify response bodies against documented JSON schemas for any API method, path, and status code to catch contract mismatches early.
Instructions
Check a response body against the JSON schema documented for a given method + path + status code.
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": {
"method": "<method>",
"path": "<path>",
"status": "<status>",
"responseBody": "<responseBody>"
},
"name": "validate_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method | Yes | ||
| status | Yes | ||
| responseBody | Yes |