JSON validator: is this valid JSON
json_validatorJSON validator: check whether a text is valid JSON and get the error position and message when it is not, plus the parsed type. Use before parsing an LLM's JSON output, saving a config or sending a request body. Example: text={"a":1}. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
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": {
"text": "<text>"
},
"name": "json_validator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The JSON text to check (up to 20,000 characters) |