export_page
Export a Docmost page as Markdown or HTML to a chosen file path, or as a zip archive when including child pages and attachments.
Instructions
Export a page to output_path or a temp file and return the path. Without children usually .md/.html; include_children gives a zip.
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 | UUID or slugId | |
| output_path | No | Where to write the file | |
| include_children | No | ||
| include_attachments | No |