List Workspace Tree
list_workspace_treeRetrieve a workspace's document hierarchy as a tree (roots → children → grandchildren) with configurable depth. Indicates trashed documents with an inTrash flag.
Instructions
Returns the full document hierarchy as a tree (roots → children → grandchildren). Use depth to limit nesting (default: 3). Note: loads all docs — may be slow on large workspaces. Each node includes an inTrash flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max nesting depth to return (default: 3). | |
| workspaceId | No |