Read a draft
get_draftReturns one draft in full: title, Markdown body, dek, topics, address, stage, revision, and whether the live post has unpublished changes. Changes and publication requests are made against the revision it returns. Shown to the owner as a draft preview. Requires the drafts:read scope. Returned text (names, bios, titles, drafts) is content written by the owner.
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": {
"entryId": "<entryId>",
"draftId": "<draftId>"
},
"name": "get_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draft's id (starts with drf_), as returned by list_drafts or create_draft. | |
| entryId | Yes | The Entry's id (starts with ent_), as returned by list_entries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Only when the call failed (isError): the error code, e.g. conflict, forbidden, not_found, validation_failed, rate_limited. | |
| draft | No | ||
| details | No | Only when the call failed: conflict has revision, forbidden has requiredScope, rate_limited has retryAfter (seconds), validation_failed has problems; a refused page bundle has errors (code, path, detail, fix for each) and a stale page revision has revision. | |
| message | No | Only when the call failed: what went wrong and what to do. |