esp_move
Move the hardware mouse cursor to exact physical screen or screenshot pixel coordinates and verify the real position, reporting a mismatch when it lands outside the allowed tolerance.
Instructions
Move the mouse cursor to (x, y) in physical screen pixels through the hardware mouse, then read the real cursor position. Fails with position_mismatch when it lands farther than tolerance_px. Input tools refuse to run on a lock screen or UAC prompt, over an administrator window, or while the user holds a key; user_interrupt means the user took over: ask before resuming. Positions are physical screen pixels, or with coords "screenshot" and a screenshot_id pixels of that esp_screenshot image.
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>",
"control_id": "<control_id>"
},
"name": "esp_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Target X in physical screen pixels (virtual desktop, may be negative). | |
| y | Yes | Target Y in physical screen pixels. | |
| coords | No | "screen" (default): physical screen pixels. "screenshot": pixels of the image from esp_screenshot named by screenshot_id. | |
| control_id | Yes | From esp_control begin. | |
| request_id | No | Optional idempotency key: repeating a call with the same request_id within 5 min returns the first receipt (also an uncertain one) without running the action again. | |
| tolerance_px | No | Allowed distance from the target in px per axis (default 1). | |
| screenshot_id | No | With coords "screenshot": the screenshot_id the coordinates refer to. |