json_query_search_values
Search large JSON files for specific values without knowing their exact paths. Input a search term and file path to retrieve matching results, limited to a specified number.
Instructions
Search for values in a JSON file. Use when you do not know the path to a value in a large JSON file, but have some idea what the value is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the JSON file. | |
| limit | No | Maximum number of results to return (default: 5) | |
| query | Yes | Search term for finding matching values |
Input Schema (JSON Schema)
{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "file_path": { "description": "Absolute path to the JSON file.", "type": "string" }, "limit": { "default": 5, "description": "Maximum number of results to return (default: 5)", "maximum": 100, "minimum": 1, "type": "integer" }, "query": { "description": "Search term for finding matching values", "minLength": 1, "type": "string" } }, "required": [ "file_path", "query" ], "type": "object" }