windows_tool
Automate Windows UI by simulating keyboard input, controlling mouse clicks and scrolling, managing windows, taking screenshots, and launching applications.
Instructions
Windows UI automation. Keyboard: type, key (with modifiers: ctrl/alt/shift/win), hotkey (e.g. 'ctrl+c'). Mouse: click (left/right/middle, x/y coords), move, scroll. Windows: list, focus, minimize, maximize, close, active, window_info, move_window, screen_size. Other: screenshot (full or region), launch app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate | |
| y | No | Y coordinate | |
| key | No | Key to press (enter, tab, f1, etc.) | |
| args | No | Command line arguments | |
| path | No | Application path or command | |
| text | No | Text to type (for type operation) | |
| wait | No | Wait for application to exit | |
| delay | No | Delay in ms before typing | |
| title | No | Window title pattern (partial match) | |
| width | No | Width (for move_window) | |
| amount | No | Scroll amount in units (default: 3) | |
| button | No | Mouse button (default: left) | |
| clicks | No | Number of clicks (default: 1) | |
| height | No | Height (for move_window) | |
| hotkey | No | Hotkey combination like "ctrl+c", "alt+tab" | |
| region | No | Region to capture { x, y, width, height } | |
| direction | No | Scroll direction (default: down) | |
| modifiers | No | Key modifiers: ctrl, alt, shift, win | |
| operation | Yes | Windows operation to perform | |
| outputPath | No | Path to save screenshot |