get_page_tree
Read a space’s page hierarchy as a recursive tree in one call, with depth and node limits to bound results and indicate truncation.
Instructions
Read the page hierarchy of a space in one call (recursive sidebar tree). max_depth and max_nodes bound the result; truncated=true when a bound stops the walk. Each level reads at most 100 sibling pages.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space_id": "<space_id>"
},
"name": "get_page_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Start at this page instead of space root | |
| verbose | No | Full metadata | |
| space_id | Yes | UUID or slug | |
| max_depth | No | Max nesting depth (default 5) | |
| max_nodes | No | Max pages to include (default 200) |