launch_on_headless_desktop
Run GUI applications on a hidden desktop for automated control without interfering with the visible desktop.
Instructions
Launch a GUI application on an off-screen desktop (creates it if needed).
The process runs with a full GUI on the hidden desktop. Use list_headless_windows to find its windows, then drive them with background input and capture them with screenshot(hwnd=...). The visible desktop is never touched.
Args: params (LaunchHeadlessInput): desktop name and command line.
Returns: str: JSON {"ok": true, "desktop": "...", "pid": N, "command": "..."}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |