Discard a draft
discard_draftRemoves a delivered draft the creator does not want from their drafts. It is not refunded (it was delivered) and cannot be brought back from chat. Use it for unsaved drafts; for items in the library use delete_library_item. Returns the id of the discarded draft. Uses no credits.
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": {
"draft_id": "<draft_id>"
},
"name": "discard_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | The draft id from generate_content or list_library. |