List Docmost pages
list_pagesRetrieve top-level Docmost wiki pages for a space, or fetch direct child pages by parent page ID.
Instructions
Lists the top-level pages of a space, or the direct children of a page when parentPageId is given.
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 list_spaces; lists the root pages of that space. | |
| parentPageId | No | Lists the direct children of this page instead. |