Johto Data Schema Diff
schema_diffPOST two JSON Schemas or OpenAPI documents as old and new. Returns breaking and non-breaking changes with JSON pointers and reason codes: removed properties, new required fields, narrowed types, enums and bounds, removed paths, operations, parameters and responses. Costs $0.01 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].
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": {
"old": "<old>",
"new": "<new>"
},
"name": "schema_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | New JSON Schema or OpenAPI | |
| old | Yes | Old JSON Schema or OpenAPI | |
| mode | No |