wikijs_get_page_tree
Retrieve page tree hierarchy for site navigation and structure discovery, with filtering by path, parent ID, or mode.
Instructions
Get the page tree hierarchy for site navigation and structure discovery. Returns folders and/or pages with depth info.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wikijs_get_page_tree"
}
}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. |