Get the page tree of a space
get_page_treeRetrieve a space's live page tree as an indented list of titles and page IDs in sidebar order, optionally limited to a root page's subtree, to find IDs for get_page.
Instructions
The live page tree of a space as an indented list of "title (page id)", in sidebar order. Pass root_page_id to see only one subtree. Use the ids with get_page.
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_key": "<space_key>"
},
"name": "get_page_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_key | Yes | Space key, e.g. ENG (uppercase letters and digits; see list_spaces). | |
| root_page_id | No | Show only this page and its descendants. |