json
Validate, format, minify, query, and summarize structured data, including line-delimited records, with precise error locations and duplicate-key checks.
Instructions
JSON: validate (line/col, hints, duplicate keys, precision loss), format, minify, query ($.a[*].b, ..id), structure summary; lines for JSON Lines.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| path | No | or a file | |
| text | No | ||
| lines | No | ||
| indent | No | ||
| path_expr | No | ||
| sort_keys | No |