hey_edit_draft
Update an existing draft's recipients, subject, or body. Each field you pass replaces the current value; omit a field to leave it unchanged.
Instructions
Update an existing draft's recipients, subject, or body. Every field you pass replaces the draft's current value outright (no merging) — omit a field to leave it as Hey last saved it. Returns {success, draftId, error?}. Previous field values are not recoverable once overwritten, so re-fetch via hey_list_emails(folder='drafts') first if you need to preserve them. Use hey_save_draft to create a draft before calling this, and hey_delete_draft to remove one instead of blanking it out.
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": "hey_edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Replace the CC list with these addresses | |
| to | No | Replace the recipient list with these addresses | |
| body | No | Replace the body content (HTML supported) | |
| subject | No | Replace the subject line | |
| draft_id | Yes | The draft's message ID, from hey_save_draft's draftId or hey_list_emails(folder='drafts') |