update_draft
Replace a draft's content by setting recipients, subject, and plain-text body, or convert it into a reply or forward. Use it to revise existing drafts without creating new ones.
Instructions
Replace a draft's content, with the same fields as create_draft.
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": {
"mailbox": "<mailbox>",
"draft_id": "<draft_id>",
"body": "<body>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Recipients; for a reply, defaults to the sender being answered | |
| bcc | No | ||
| body | Yes | Plain-text body | |
| from | No | A send-as address of the mailbox; default is its default identity | |
| forward | No | Message id to forward, with its text and attachments | |
| mailbox | Yes | A connected mailbox address (see list_mailboxes) | |
| subject | No | Required for a new message; a reply or forward derives Re:/Fwd: | |
| draft_id | Yes | ||
| reply_to | No | Message id being replied to (keeps the thread) | |
| reply_all | No | With reply_to: also copy the other recipients |