json_query
Extract and query JSON data using JSONPath expressions to locate values, arrays, and nested structures within specified directories and file size limits.
Instructions
Query JSON data using JSONPath expressions. Provides powerful search capabilities for selecting data within JSON structures. Supports standard JSONPath syntax for finding values, arrays, and nested structures. Requires maxBytes
parameter (default 10KB). The path must be within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxBytes | Yes | Maximum bytes to read from the file. Must be a positive integer. Handler default: 10KB. | |
path | Yes | Path to the JSON file to query | |
query | Yes | JSONPath expression to execute against the JSON data |