Read a Docmost page
get_pageRetrieves a Docmost page or saved revision as Markdown with pagination, heading sections, or an outline, so you can read exact content without loading the entire page.
Instructions
Returns a window of a page, or of one saved revision of it, as Markdown along with its id, URL, labels, path from the space root and line counts, or just one heading's section, or only the headings with their line numbers.
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": "get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of lines to return; defaults to 500. | |
| offset | No | First line to return, starting at 1; defaults to 1, or to the section heading. | |
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. | |
| outline | No | Return only the headings, with their levels and line numbers, instead of the body. | |
| section | No | Heading text, ignoring case; returns from that heading to the next heading of the same or a higher level. | |
| historyId | No | Revision id from list_page_history; reads that saved revision instead of the page's current body. |