Validate / format JSON
json_toolValidate JSON and report the exact error line/column, or pretty-print / minify it. Price: $0.001 per successful call via x402 (eip155:8453); 5 free calls/day across all tools.
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": {
"input": "<input>"
},
"name": "json_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | validate (default), pretty or minify | |
| input | Yes | JSON text | |
| indent | No | Indent for pretty (default 2) |