click
Interact with a page element by its UID to trigger a single or double click, with an optional updated snapshot for verifying the resulting page state.
Instructions
Clicks on the provided element
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": {
"pageId": "<pageId>",
"uid": "<uid>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The uid of an element on the page from the page content snapshot | |
| pageId | Yes | Targets a specific page by ID. | |
| dblClick | No | Set to true for double clicks. Default is false. | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |