click
Triggers the element at the specified snapshot index and returns a fresh snapshot, enabling step-by-step browser automation.
Instructions
Click the element with the given index (from snapshot). Returns a new snapshot.
Args: index: Element index from snapshot session_id: Session to act on (default: "default")
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": {
"index": "<index>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |