List Workspace Tree
list_workspace_treeRetrieve the full document hierarchy of an AFFiNE workspace as a tree structure, with configurable nesting depth to limit results.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | ||
| depth | No | Max nesting depth to return (default: 3). |