json_path_query
Extract a value from a JSON object using a dot-notation path (e.g., 'user.address.city' or 'items[0].name').
Instructions
Extract a value from a JSON object using a dot-notation path (e.g., 'user.address.city' or 'items[0].name').
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": {
"input": "<input>",
"path": "<path>"
},
"name": "json_path_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The JSON string to query | |
| path | Yes | Dot-notation path (e.g., 'user.name', 'data[0].id', 'config.db.host') |