JSONPath Query
jsonpath_queryRun a JSONPath query (RFC 9535) on a JSON document you send. Send query, for example $.store.book[?@.price < 10].title, and document, the JSON text. Get back how many nodes matched and, for each, its value and its normalized path (for example $['store']['book'][0]['title']), in the order RFC 9535 defines. Supports name, index, wildcard, slice and filter selectors, the descendant segment .., and the standard functions length, count, match, search and value. A query that is not valid RFC 9535 gives verdict query_error with the reason and the position. Limits: query 1,000 and document 15,000 characters. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/jsonpath-query). Not legal, tax or financial advice.
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": {
"query": "<query>",
"document": "<document>"
},
"name": "jsonpath_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The JSONPath query, starting with $ (RFC 9535), for example $..book[?@.price < 10].title. Up to 1,000 characters. Do not put Social Security, phone or card numbers in it. | |
| document | Yes | The JSON document to query, as JSON text (any JSON value), up to 15,000 characters, 32 levels deep. No personal data: emails, Social Security or phone shapes and card numbers are refused. |