Window: run a command
herdr_app_doExecutes Herdr desktop window commands to create, select, or rename spaces and tabs, split panes, and focus agent terminals, returning IDs for created items.
Instructions
Run a window command: space.new {name, folder, machine, argv, task}, tab.new {name, space, folder, argv, task}, pane.split {direction, pane}, agent.focus {terminal}, tab.select {id}, space.rename {id, name}, ... (herdr_app_commands lists them all). Returns the created IDs. Supply every required argument: commands from an agent never open a dialog. New spaces and tabs are shown immediately: only create them when the user asks, and give them explicit names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Its arguments as an object. | |
| command | Yes | The command name, e.g. tab.new. |