Delete draft document
delete_draft_documentDelete a Markdown source of a tender — the draft, and by default the PDF that was typeset from it, file included. Without this there was no way back from create_draft_document: a source stayed in the tender's folder and every render_plan_folder set it again. keep_rendered leaves the PDF in place; it then carries no source any more and cannot be produced again, which is exactly the state the plan pipeline was built to end, so it is not the default.
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": "delete_draft_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| keep_rendered | No | Keep the typeset PDF at the tender. Default false. |