List i3 Workspaces
list_workspacesList all active workspaces with their number, name, visibility, focus, urgency, and output for informed navigation decisions.
Instructions
List all active workspaces with number, name, visibility, focus, urgency and owning output. Read-only. Use this for navigation decisions; for the windows on a workspace use get_tree with a workspace filter, and for monitors use list_outputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of active workspaces. | |
| workspaces | Yes | Active workspaces, in i3 order. |