util_jsonpath
JSONPath query — Run a JSONPath query on JSON you pass (json=, URL-encoded) or fetch (url=, up to 2 MB). Supports $, .name, [quoted], [n], [-n], [a,b], [start:end:step], *, .. deep scan and [?(@.price<10 && @.inStock)] filters (== != < <= > >= && || !, @.x.length). Returns each match with its normalized path; values_only=true for a flat list, limit= up to 1000. Safe: no script evaluation. Price: $0.001 USDC (Base, via x402).
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>",
"path": "<path>"
},
"name": "util_jsonpath"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | {"items":[{"id":1,"price":5},{"id":2,"price":12}]} | |
| path | Yes | $.items[?(@.price<10)].id |