find
Locate current-page elements by one or more keywords and return matches with refs, helping you target buttons, links, inputs, or text when full snapshots are truncated.
Instructions
在当前页面按关键词查找元素(按钮、链接、输入框、文字等),只返回匹配的条目及其 ref。页面很大、完整快照被截断时,用它精确定位要操作的元素。多个关键词用空格分隔,需同时包含。
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": {
"text": "<text>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 关键词,如 "登录"、"G1234 预订" | |
| limit | No | 最多返回多少条,默认 30 |