page_query_all
Query all matching elements in a page using a WXSS selector, returning element handles for later interaction. If over 1000 matches, only the last 1000 handles are provided.
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": {
"page_id": "<page_id>",
"selector": "<selector>"
},
"name": "page_query_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| selector | Yes | WXSS 选择器 |