scf_export_document
Export a document as rendered markdown or HTML text. Specify the organization and document IDs, choose md or html format, and receive the content for viewing or integration.
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 |