click
Activates a page element by index or visible name, then returns the resulting snapshot or a compact summary of changes for agent-driven browsing.
Instructions
Click an element: give its index from a snapshot, or its visible name
("Save", "tab:Specs", "link:Payments"). A name is looked up on
the page as it is now, so it works for an element you have not seen yet.
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 / new text / 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 |