mail_prepare_draft
Prepare a server draft for sending while preserving recipients, body, threading, and attachments. Get a preview and operation ID; sending is a separate step, and the original draft stays.
Instructions
Prepare a server draft for sending, preserving its recipients, body, threading and attachments. It returns a preview and a new operation ID; sending is separate. The source draft is retained after sending.
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": {
"accountId": "<accountId>",
"folder": "<folder>",
"uid": "<uid>",
"uidValidity": "<uidValidity>"
},
"name": "mail_prepare_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| accountId | Yes | ||
| uidValidity | Yes |