verify_json_schema
Validate JSON from agents against expected schemas to prevent malformed data propagation in multi-agent systems.
Instructions
Validate JSON data from another agent against expected schema. Essential for preventing malformed data propagation in multi-agent workflows. Returns validation status, errors, and confidence score.
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": {
"data": "<data>",
"schema": "<schema>"
},
"name": "verify_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON data received from another agent | |
| schema | Yes | Expected JSON schema for validation | |
| source_agent | No | Identifier of the agent that provided this data (for audit trail) | |
| strict_validation | No | Enable strict validation mode (fails on additional properties) |