element_query_all
Query all matching child elements within an element using a WXSS selector, returning element IDs for further interaction.
Instructions
在元素内按 WXSS 选择器查询所有匹配子元素(返回 element_id 句柄数组;超 1000 个时仅末尾 1000 个句柄可用)
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": {
"element_id": "<element_id>",
"selector": "<selector>"
},
"name": "element_query_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | WXSS 选择器 | |
| element_id | Yes |