export_page
Export a Docmost page to a local Markdown or HTML file, or a ZIP archive when including child pages. Returns the file path and content type for further processing.
Instructions
Export a page to a local file. A page without children is often a .md or .html file; include_children usually returns a zip. Writes to output_path or a temp file and returns the path plus content type.
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": "export_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| page_id | Yes | Page UUID or slugId | |
| output_path | No | Where to write the exported file | |
| include_children | No | ||
| include_attachments | No |