Preview a saved draft
preview_draftValidates a saved draft revision, stores thread parts, account bindings and image fingerprints, and returns a Preview ID without publishing or uploading. Invalid content stays Draft with errors.
Instructions
Validate a saved revision and persist its exact thread parts, account bindings and image fingerprints. Returns status Preview and a preview ID. Does not publish or upload. Invalid content remains Draft with errors.
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": {
"draftId": "<draftId>",
"expectedRevision": "<expectedRevision>"
},
"name": "preview_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |