json_query
Fetch JSON from a URL or raw input and extract only the values matching a JSONPath-lite expression. Supports filters, wildcards, and recursive descent.
Instructions
Fetch JSON from a URL (or accept raw JSON) and query it with a JSONPath-lite expression. Supports property access, array indexing, wildcards ([*]), recursive descent (..), and filter expressions ([?(@.price < 10)]). Returns only the matching values as JSON — use instead of loading large JSON payloads into your context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL returning JSON to query (http/https). | |
| json | No | Raw JSON string to query (alternative to url). | |
| query | Yes | JSONPath-lite expression. Examples: '$.users[*].name', '$..price', '$.items[?(@.stock > 0)].id', '$.store.books[0].title' | |
| limit | No | Max number of results to return (default 100, max 1000). |