move_mouse_window
Post a WM_MOUSEMOVE message to a window-relative coordinate to trigger hover states without moving the physical cursor, for screenshot preparation.
Instructions
Post a WM_MOUSEMOVE message to a window-relative coordinate without moving the physical cursor, useful for hover states before taking a screenshot.
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": "move_mouse_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | Window handle from list_windows or launch_app. Numbers are accepted at runtime, but strings are safest for Codex. | |
| pid | No | ||
| processName | No | ||
| titleContains | No | ||
| x | Yes | X coordinate relative to the target window top-left corner. | |
| y | Yes | Y coordinate relative to the target window top-left corner. | |
| delayMs | No | Delay after posting WM_MOUSEMOVE, useful before taking the next screenshot. |