Read a draft
get_draftRetrieve a full draft in editable Markdown to review or modify before sending updates. Optionally get the exact ProseMirror document for raw, precise access.
Instructions
Read one draft in full. The body comes back as markdown by default, so you can edit a sentence and send it straight back to update_draft. Ask for prosemirror if you need the raw document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id. | |
| body_format | No | How to return the body. 'markdown' is editable, 'prosemirror' is exact. | markdown |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |