validate_schema
Deterministically validates that a target JSON payload contains all mandatory keys specified in a reference schema dictionary. Returns a boolean validation status and a list of missing keys. Use when verifying payload structure before downstream processing. Do not use for regex string validation or deep recursive type casting.
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_definition": "<schema_definition>",
"data": "<data>"
},
"name": "validate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The target JSON data object to inspect and validate against the schema definition. | |
| schema_definition | Yes | A JSON object defining mandatory keys required in the target payload (e.g. {'user_id': '', 'status': ''}). |