wikijs_get_page_tree
Retrieve the hierarchical page tree for site navigation and structure discovery.
Instructions
Get the page tree hierarchy for site navigation and structure discovery. Returns folders and/or pages with depth info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path prefix to scope the tree. | |
| parentId | No | Optional parent page ID to get children of. | |
| mode | No | Tree mode. Default ALL. | |
| locale | No | Locale code. Defaults to WIKI_DEFAULT_LOCALE. | |
| includeAncestors | No | Include ancestor pages. Default false. |