data_json_query
Query JSON data using simple path expressions like 'users[0].name' or 'data.items[*].id' to extract specific values from complex JSON structures.
Instructions
用简单路径表达式查询 JSON 数据。 路径语法: 用 . 分隔键名,用 [N] 访问数组元素。 示例: 'users[0].name' 'data.items[*].id'
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_text": "<json_text>",
"path": "<path>"
},
"name": "data_json_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_text | Yes | JSON 字符串 | |
| path | Yes | 查询路径,如 users[0].name |