scf_export_document
Export a document as rendered Markdown or HTML text for read-only viewing. For PDF downloads, use the web UI instead.
Instructions
Export a document as rendered markdown or HTML text (read — viewer role). The platform also renders PDF, but that is a binary download and is not offered here — fetch it from the web UI instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format: 'md' for markdown, 'html' for rendered HTML | md |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| document_id | Yes | Generated document UUID — obtain from scf_list_documents |