Discard a library draft
discard_library_draftDelete your own draft library item that was never submitted or was withdrawn, while preserving its builder slate.
Instructions
Delete one of your own draft library items.
Discard a draft. Delete your own draft library item (never submitted, or withdrawn). Its builder slate stays.
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": {
"itemId": "<itemId>"
},
"name": "discard_library_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The item: its id or its slug (library.list items[].id or .slug). | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |