Update Email Draft
update-email-draft-toolRewrite one of the current user's saved drafts. The arguments replace the draft's mailbox, recipients, subject and body, so pass everything the draft should keep. Attached files stay. Nothing is sent. Write body as plain text or markdown. The mailbox signature is added unless include_signature is false.
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>",
"connected_account_id": "<connected_account_id>"
},
"name": "update-email-draft-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses. | |
| to | No | Recipient email addresses. | |
| bcc | No | BCC email addresses. | |
| body | No | The message as plain text or markdown. Raw HTML is escaped. | |
| subject | No | Subject line, up to 255 characters. | |
| draft_id | Yes | The draft ID, as returned by the create email draft tool or listed with status draft. | |
| include_signature | No | Add the mailbox default signature. | |
| connected_account_id | Yes | The mailbox to draft in, from the list email accounts tool. | |
| in_reply_to_email_id | No | ID of the email this draft replies to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| mailbox | Yes |