JSON query: JSONPath (RFC 9535) or JSON Pointer ($0.002/call)
json_query$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Selects values from a JSON document with a JSONPath query (RFC 9535: names, indexes, slices, wildcards, .. descendants, filters with comparisons, && || ! and length/count/value) or a JSON Pointer (RFC 6901). Returns every match with its normalized path and pointer. Input: json and query (POST for large documents), optional max_results. Limits: 1 MB JSON, 1,000-character query; match() and search() are not offered. Offline.
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>",
"query": "<query>"
},
"name": "json_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON text, up to 1 MB (a JSON value is also accepted in a POST body or MCP arguments) | |
| query | Yes | JSONPath starting with $ (RFC 9535, e.g. $.items[?@.price < 10].name) or JSON Pointer starting with / (RFC 6901, e.g. /items/0/name) | |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| max_results | No | Values returned, 1-1000 (default 100); match_count is always the full count | 100 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| cache | No | ||
| notes | No | ||
| query | No | ||
| _trial | No | Present when the call was a free trial call. | |
| results | No | ||
| language | No | ||
| provider | No | ||
| price_usd | No | ||
| truncated | No | ||
| match_count | No | ||
| results_returned | No |