browser_click
Click an element. ref is either an aria-ref token from browser.snapshot ('e7') OR a CSS selector ('button.submit'). Prefer the aria-ref token. frame (optional): CSS selector of an a CSS ref lives in (nested: 'outer >>> inner'); aria-refs need no frame. Optional: button left|right|middle (right = context menu), double for a double-click, modifiers held during the click (any of Alt, Control, Meta, Shift — e.g. ['Control'] to open a link in a new tab).
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>",
"ref": "<ref>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| frame | No | ||
| button | No | left | |
| double | No | ||
| page_id | Yes | ||
| modifiers | No | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |