Get Page Tree
get_page_treeFetches a space's page tree or a subtree under a given page in one call, honoring depth and page limits and listing unexpanded pages for follow-up.
Instructions
The page tree of a space, or of one page, several levels deep in one call. The walk stops at max_depth levels or max_pages pages; pages whose children were not read are listed in not_expanded, and get_page_tree with that page as root_page_id continues there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | Space id from list_spaces. | |
| max_depth | No | Levels to walk down. | |
| max_pages | No | Stop after listing this many pages. | |
| root_page_id | No | Start below this page instead of the space's top. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||