click
Triggers an element matching a Playwright selector, waiting until it is visible and actionable and suggesting similar elements if the target cannot be acted on.
Instructions
[Agent Browser] Click an element matching the selector. Supports Playwright selectors: css, text='...', xpath=..., :has-text(). Auto-waits for element to be visible and actionable. On failure, returns suggestions for similar visible elements.
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": {
"selector": "<selector>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |