Browse page tree
get_page_treeBrowse Wiki.js page and folder hierarchy level by level, starting from the root or descending from a specified parent folder.
Instructions
Browse the page/folder hierarchy one level at a time. Omit parent for the root level; pass a folder item id as parent to descend.
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": "get_page_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ALL | |
| locale | No | en | |
| parent | No | Tree item id to list children of (omit for root) | |
| includeAncestors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |