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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "onda_workspace_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace ID. Omit for active workspace. |