app_launch
Launch a GUI app in an isolated virtual screen, returning its PID and window when available.
Instructions
Run a graphical application inside a screen. Returns its pid and, once it appears, its window.
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": {
"command": "<command>"
},
"name": "app_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | working directory | |
| env | No | extra environment variables | |
| screen | No | screen name; optional when the session owns exactly one screen | |
| command | Yes | argv of the application, e.g. ["chromium","--ozone-platform=wayland","--user-data-dir=/tmp/hc-profile","--no-first-run","https://example.org"] | |
| wait_window_ms | No | wait up to this long for a new window (default 10000, 0 = return immediately) |