List Docmost pages
list_pagesBrowse a Docmost space's page tree by listing root pages or a page's direct children in sidebar order, including whether each has children. Use to navigate the wiki structure.
Instructions
Browses the page tree, listing the top-level pages of a space or the direct children of a page in sidebar order, all at once up to 1000, with whether each has children; to search, filter by label or see recent pages, use find_pages.
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": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | No | Space id from get_workspace; lists the root pages of that space. | |
| parentPageId | No | Lists the direct children of this page instead. |