Manage i3 Workspace
manage_workspaceSwitch to, move containers to, rename, or navigate i3 workspaces. Supports follow option for move and reversible actions.
Instructions
Act on workspaces: switch to one, move_container_to one (optionally following), rename one, or navigate next/prev/back_and_forth. Reversible. action selects the operation and determines which of name/new_name/direction are required. To move a single window rather than switch, use move_window; to list workspaces use list_workspaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Target workspace for switch/move_container_to; old name for rename. | |
| action | Yes | Which workspace operation to perform. | |
| follow | No | For move_container_to, also switch to the target. Default false. | |
| new_name | No | New workspace name (required for `rename`). | |
| direction | No | Navigation direction (required for `navigate`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | First error message across the payload, or null on full success. | |
| success | Yes | True only if every command in the payload succeeded. | |
| outcomes | No | Per-command outcomes, in payload order. |