{"uid":"cap_s8JJuz3enyXYxSYDqODW-","slug":"tool-result-schema-validator-459c9faf","name":"Tool Result Schema Validator","description":"Validate tool output against a bounded top-level JSON Schema subset","url":"https://phion.systems/v1/paid/trust/tool-result-schema-validator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["body"],"properties":{"body":{"type":"object","additionalProperties":true}}},"output":{"type":"object","required":["example"],"properties":{"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6nbL7LgdH7DoGtfZrAswL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates AI tool output JSON against a bounded top-level JSON Schema subset to ensure structural correctness and safety","exampleAgentPrompt":"Can you validate this tool result JSON to make sure it conforms to my expected schema — I need to confirm it passes the bounded top-level JSON Schema subset check before the next pipeline step runs.","exampleUseCases":[{"title":"Agentic pipeline schema gate","prompt":"Before passing this tool's JSON output to the next stage, validate it against my expected schema to make sure the structure is correct and nothing unexpected is in there."},{"title":"Tool output safety check","prompt":"My agent just got back a result from an external tool — can you run it through the schema validator to confirm it matches the bounded JSON Schema I defined and flag any fields that don't comply?"},{"title":"Multi-agent handoff validation","prompt":"I'm handing off data between two agents and I need to verify the outgoing tool result conforms to the agreed JSON schema before the receiving agent tries to process it — can you check it now?"}],"resultDescription":"Returns a validation outcome indicating whether the provided tool output JSON conforms to the specified bounded top-level JSON Schema subset, including pass/fail status and any specific schema violations or errors encountered.","failureModes":["Invalid or malformed JSON submitted as tool output returns a parse error","Schema definition itself is outside the bounded subset and is rejected as unsupported","Tool output contains fields that violate schema constraints, returning detailed error paths","Empty or missing payload results in a 400-level error","Schema version mismatch or unsupported draft directive causes rejection"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, paid-integrity validation of agent tool output against a structured JSON Schema — particularly in agentic pipelines where schema compliance must be verified before downstream processing, and where a signed or auditable validation result adds trust over a local validation library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:07:16.634Z","isFirstParty":false,"canonicalSlug":"tool-result-schema-validator-459c9faf"}