get_json_path
Extract a value from JSON using a path expression.
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": {
"json_string": "<json_string>",
"path": "<path>"
},
"name": "get_json_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to extract (e.g., 'user.address.city' or 'items[0].name') | |
| json_string | Yes | JSON string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| type | No | ||
| error | No | ||
| found | No | ||
| valid | No | ||
| value | No |