json_get
Retrieve a value from JSON or JSONC data using a jq-like path from a local file or inline string. Works offline without external requests.
Instructions
Get a value at a jq-like path (e.g. .foo.bar[0]). Local files/strings only. Does not fetch URLs or contact external services.
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": {
"path": "<path>"
},
"name": "json_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path like .a.b[0] | |
| text | No | Raw JSON/JSONC string (alternative to filePath). | |
| filePath | No | Local JSON/JSONC file path. |