confluence_get_page_ancestors
Retrieve the hierarchy of parent pages for a given Confluence page, from its direct parent up to the root. Optionally get the full raw API response.
Instructions
Get ancestors (parent pages) of a specific page, from immediate parent to root. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
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": {
"pageId": "<pageId>"
},
"name": "confluence_get_page_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | If true, bypass response trimming and return the raw Confluence API response. | |
| limit | No | Maximum number of ancestors to return | |
| pageId | Yes | The ID of the page |