Update draft document
update_draft_documentUpdate a Markdown source: its text, its plan-document settings, or its status draft → reviewed → final. 'final' is the actual submission-ready proposal — set only when a human has reviewed it. Changing the content does NOT re-render the PDF; call render_plan_document afterwards, otherwise the file at the tender is the older text.
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": "update_draft_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| status | No | ||
| content | No | ||
| variant | No | ||
| doc_kind | No | ||
| draft_id | Yes | ||
| sort_order | No | ||
| is_internal | No | Internal: the rendered PDF shows only in internal share links. | |
| source_path | No | ||
| document_date | No | JJJJ-MM-TT. Changing it changes the PDF. | |
| letterhead_profile_key | No |