onda_workspace_layout
Read a workspace's mosaic layout, panes, active pane, viewport size, and working directories to determine where to place a new terminal and whether space is available.
Instructions
Read the current layout of a workspace: mosaic tree, list of pane IDs, active pane, viewport dimensions, and per-pane cwd. Use this BEFORE spawning a new terminal to decide where to place it (right/down/replace) and whether the viewport has room. Returns null for workspace if the id is unknown. Omit workspaceId to use the active workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace ID. Omit for active workspace. |