Checks an agent's JSON output against a JSON Schema
agent_intel_agent_json_schema_guardChecks an agent's JSON output against a JSON Schema (draft 2020-12 keywords: type, properties, required, additionalProperties, items, enum, const, length, pattern, minimum/maximum, item counts). Returns valid yes/no, each error with its path and the value with disallowed fields removed. $ref, allOf/anyOf/oneOf, if/then and format return an error instead of passing silently. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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>",
"value": "<value>"
},
"name": "agent_intel_agent_json_schema_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The JSON value to check (any JSON) | |
| schema | Yes | The JSON Schema |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| valid | No | ||
| errors | No | ||
| source | No | ||
| checkedAt | No | ||
| sanitized | No | ||
| removedFields | No |