Click Coordinates
page_click_xyClick precise viewport CSS coordinates with left, right, or middle mouse buttons, using direct or natural pointer movement and optional press delay for browser automation.
Instructions
Move the viewport pointer to exact CSS pixel coordinates using a direct or bounded natural trajectory, optionally wait for an explicit delay, then press and release one mouse button.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "page_click_xy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Viewport X coordinate in CSS pixels | |
| y | Yes | Viewport Y coordinate in CSS pixels | |
| button | No | Mouse button to press and release | left |
| tab_id | No | Optional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start. | |
| element | No | Human-readable element or interaction description | |
| profile | No | Movement profile: direct emits one exact move; natural emits a deterministic 24-step eased cubic Bezier path with bounded 8-14ms intervals and an exact endpoint | direct |
| delay_before_press_ms | No | Optional delay after pointer arrival and before mousePressed. This is timing control, not target-stability detection; moving targets require a fresh screenshot or selector-first action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||