session_click
Clicks a page element by its index in a live browser session, re-verifying it remains attached, enabled, visible, and uncovered. Returns clicked:false with a reason if the element changed or is covered.
Instructions
Click an interactive element by its index (from session_state output) inside a live browser session: scrolls it into view and fires a DOM click on the session's current page. Before clicking it re-verifies the element in the same frame — if the page changed since session_state (element detached, disabled, hidden, or covered by an overlay), it returns clicked:false with a reason ("detached"/"disabled"/"not_visible"/"covered_by") and, when covered, a covered_by description of the element that would eat the click — never a silent no-op. A submit click may navigate the session — the returned url/text_after reflect the page after the action, and session state (cookies, localStorage, globals) persists for follow-up calls. Indexes come from the most recent session_state; re-list after navigation.
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": {
"session_id": "<session_id>",
"index": "<index>"
},
"name": "session_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Element index (from /state output) | |
| session_id | Yes | Session ID |