smartFindElement
Find web page elements using natural language descriptions and get ranked candidate matches to automate actions like clicks or typing.
Instructions
Find elements with natural language. Returns ranked candidates. Prefer analyzePage for better performance.
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": {
"description": "<description>"
},
"name": "smartFindElement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Optional action on element | |
| maxResults | No | Max candidates (default: 5) | |
| description | Yes | Natural language description | |
| minConfidence | No | Confidence threshold (default: 0.6) for auto-executing `action`. Below it (or too close to runner-up), action is skipped and candidates returned with 'actionSkipped'. Prevents auto-clicking the wrong control. |