Query JSON
json_queryQuery a JSON document using a dot or bracket path to extract specific values, with optional pretty-printed output for easier reading.
Instructions
Query a JSON document with a dot/bracket path and optionally return pretty output.
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": "json_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON string to query | |
| query | No | Dot-notation path query (e.g., 'users.0.name') |