chrome_mouse_control
Controls mouse and touch events (move, click, down, up, wheel) in a browser environment to automate interactions.
Instructions
Control mouse and touch actions including move, click, wheel, etc.
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": {
"envId": "<envId>",
"action": "<action>"
},
"name": "chrome_mouse_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of clicks to perform | |
| delay | No | Delay between actions in milliseconds | |
| envId | Yes | Environment ID for the browser environment to operate. | |
| touch | No | Whether to use touch events instead of mouse events | |
| action | Yes | Action to perform: move, click, down, up, wheel. | |
| button | No | Mouse button to use: left, right, middle | left |
| deltaX | No | Horizontal scroll delta for wheel action | |
| deltaY | No | Vertical scroll delta for wheel action | |
| selector | No | CSS selector for the element to perform action on. Either selector or coordinates must be provided. | |
| coordinates | No | Coordinates to perform action at (relative to viewport). If provided, takes precedence over selector. |