Export Space
export_spaceExports an entire wiki space as a ZIP of Markdown or HTML files, optionally with attachments, and returns a 10-minute download link for space admins.
Instructions
Export a whole space as a zip of Markdown or HTML files, optionally with its files. Needs admin rights in the space. The result is a download link that works for 10 minutes; Docmost builds the zip when the link is opened.
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": "export_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown or html. | markdown |
| space_id | Yes | Space id from list_spaces. | |
| include_attachments | No | Include the files of the pages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||