update_draft
Replace an existing draft email with updated recipients, subject, and body content; the old draft is deleted and a new draft is saved.
Instructions
Update an existing draft email by replacing it with new content. The old draft is deleted and a new one is saved.
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>",
"to": "<to>",
"subject": "<subject>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients, comma-separated | |
| to | Yes | Recipient email address(es), comma-separated | |
| bcc | No | BCC recipients, comma-separated | |
| uid | Yes | UID of the existing draft to update | |
| html | No | HTML body (optional, for rich formatting) | |
| text | No | Plain text body | |
| subject | Yes | Email subject line |