List Spaces And Folders
workspace.structureList the spaces the user can see, each with its folders and the items inside them (sheets, pages, whiteboards, Vista pages, dashboards, standalone workflows). Call this FIRST when you need to create something and must decide where it goes: spaceId and folderId from here are what sheet.create, page.create, steps.apply and workflow.from_template take as their target. For an item, refId is the entity id to pass to other tools (e.g. a SHEET item's refId is the sheetId for sheet.schema; a WHITEBOARD item's refId is the whiteboardId and a VISTA item's the vistaId for item_tree.move and item_tree.duplicate; a WORKFLOW item's refId is its ref in workflow.list, which gives its workflowId). Use workspace.search instead when you know the name of the thing you want and just need its id.
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": "workspace.structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | No | Return only this space. Omit for every space you can see. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaces | Yes | Spaces the caller can see, each with its folders and items; an item's `refId` is the sheet/page/whiteboard/vista/dashboard id, or the workflow ref of a standalone workflow | |
| truncated | Yes | True when spaces were dropped to fit the result cap; narrow with `spaceId` |