update_draft
Replaces an existing email draft with new recipients, subject, and body by specifying the draft's UID and folder; requires confirmation to overwrite.
Instructions
Replace an existing draft. Requires confirm_replace=true.
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": {
"uid": "<uid>",
"folder": "<folder>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| uid | Yes | ||
| body | Yes | ||
| folder | Yes | ||
| subject | Yes | ||
| html_body | No | ||
| from_address | No | ||
| confirm_replace | No | ||
| attachment_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||