Get Orphan Documents
get_orphan_docsIdentify documents with no parent links for workspace cleanup. Includes trash status.
Instructions
Find all documents that have no parent (not linked from any other doc via embed_linked_doc / embed_synced_doc blocks or inline LinkedPage references). Useful for workspace hygiene. Note: scans all docs — O(n). Each doc includes an inTrash flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No |