cu_ghost_desktop
Manages an isolated Win32 desktop session for automation that avoids focus theft, enabling window launching, enumeration, capture, and input dispatch without affecting the active desktop.
Instructions
Manage isolated Win32 kernel desktop session (WinSta0\AGY_GhostDesktop) for zero-focus-theft automation.
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": {
"action": "<action>"
},
"name": "cu_ghost_desktop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | Target window handle on ghost desktop. | |
| text | No | Text to type or set. | |
| action | Yes | Ghost desktop action (create, launch, windows, enumerate, capture, dispatch, close). | |
| norm_x | No | X on [0..1000] grid. | |
| norm_y | No | Y on [0..1000] grid. | |
| dry_run | No | Synthesize without OS dispatch. | |
| wait_sec | No | Seconds to wait for window after launch. | |
| drag_steps | No | Intermediate interpolation steps for drag. | |
| end_norm_x | No | End X on [0..1000] grid for drag. | |
| end_norm_y | No | End Y on [0..1000] grid for drag. | |
| action_type | No | Action type for dispatch (click, type_text, etc.). | |
| wheel_delta | No | Scroll wheel delta. | |
| command_line | No | Command line to launch in isolated desktop. | |
| desktop_name | No | Desktop session name (default 'AGY_GhostDesktop'). | |
| terminate_spawned | No | Terminate spawned processes on close. |