list_pages
Retrieve pages from a Docmost space via recent or tree view, showing recently updated or sidebar-organized content.
Instructions
List pages in a space. Default view=recent is recently updated pages (not the sidebar tree; General can look empty). Use view=tree for space-root pages in sidebar order, or list_child_pages for children of a 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_id": "<space_id>"
},
"name": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | recent (default) or tree for sidebar-root pages | |
| limit | No | Page size, 1-100 | |
| cursor | No | Pagination cursor from meta.nextCursor | |
| space_id | Yes | Space UUID or slug |