json
Validate JSON and say exactly where it breaks -- line, column, the offending line and a caret under the character. A byte offset is not something you can act on; a line and column is. Pass a path to read a value out instead.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional. e.g. "a.b[1]" to read a value. | |
| text | Yes | The JSON to check. Capped at 64kb by the body limit. |