update_draft
Replaces an existing email draft by saving the revised message, then moves the outdated draft to Trash.
Instructions
Save a replacement draft, then attempt to move the old draft to Trash.
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>",
"text_body": "<text_body>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| uid | Yes | ||
| subject | Yes | ||
| html_body | No | ||
| text_body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||