update_draft
Update an existing email draft by providing its ID. Modify subject, body, recipients, or CC/BCC as needed.
Instructions
Cập nhật nội dung email nháp đang tồn tại.
Args: message_id: ID của email nháp cần cập nhật. subject: Tiêu đề mới (bỏ qua nếu không muốn thay đổi). body: Nội dung mới (bỏ qua nếu không muốn thay đổi). to: Người nhận mới (bỏ qua nếu không muốn thay đổi). cc: CC mới (bỏ qua nếu không muốn thay đổi). bcc: BCC mới (bỏ qua nếu không muốn thay đổi).
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": {
"message_id": "<message_id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | No | ||
| subject | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |