launch
Run commands in Hyprland, place them on a specific workspace even for single-instance apps, and wait for the window. Returns window address, class, title, and workspace, or a timeout note.
Instructions
Run command via Hyprland exec. Optional workspace placement
(silent, works even for single-instance apps like browsers, whose
window gets moved after it appears) and wait_s (1-30, default 8;
raise for slow apps). Returns the new window's
address/class/title/workspace, or a timeout note.
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": "launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_s | No | ||
| command | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |