drift-detector
Detects differences between an actual API response and an expected JSON schema. Reports missing_required (error), type_mismatch (error), enum_violation (error), missing_optional (warning), unexpected_field (info). Recurses into nested objects.
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": {
"schema": "<schema>",
"response": "<response>"
},
"name": "drift-detector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Expected JSON schema | |
| response | Yes | Actual API response to check against schema |