List Document Children
list_childrenList direct children of a document, including embed blocks and inline LinkedPage references, to retrieve docId, title, URL, and trash status for each child.
Instructions
List the direct children of a document in the sidebar (embed_linked_doc / embed_synced_doc blocks and inline LinkedPage references). Returns docId, title, URL, and inTrash for each child.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | The parent doc whose children to list. | |
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| docId | No | ||
| children | No |