click
Activate a web element by its index from the latest snapshot, returning the updated page snapshot or a compact change summary when snapshot output is disabled.
Instructions
Click the element with the given index (from the latest snapshot).
Returns the resulting snapshot (or a compact change summary when
include_snapshot=false). The result's Changed: line reports what the
click did (url change / new elements / nothing).
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 | ||
| include_snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |