util_json_schema
JSON Schema from a sample — Turn a sample JSON document into a JSON Schema (draft 2020-12) offline: types (integer vs number), nested objects, merged array item shapes, required keys (only those present in every sample object), and string formats (date, date-time, email, uri, uuid, ipv4). Use it to validate API payloads, write tool definitions or document a response. Price: $0.002 USDC (Base, via x402).
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": {
"json": "<json>"
},
"name": "util_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | a sample JSON document (URL-encoded), e.g. an object with id 7, email a@b.co and tags [x] | |
| title | No | optional schema title | |
| formats | No | true (default) | false | |
| required | No | all (default) | none |