get_page
Read a Docmost page's metadata and Markdown body, with options to return only headings, one section, or paginated text by character range.
Instructions
Get page metadata and Markdown body (format=json for ProseMirror). To read less: outline=true lists headings, heading returns one section, max_chars+offset page the body (follow next_offset).
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": {
"page_id": "<page_id>"
},
"name": "get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Default markdown | |
| offset | No | Start position | |
| heading | No | One section as Markdown. Text, or '## Text' to pin the level | |
| outline | No | Headings only | |
| page_id | Yes | UUID or slugId | |
| max_chars | No | Max characters to return |