create_draft
Write and save an email draft without sending it, including replies, recipients, and attachments; returns the draft UID for later review or sending.
Instructions
Write a message and save it in Drafts. Nothing is sent.
To reply, give reply_to_uid (and reply_folder if the original is not in
the inbox): recipient, 'Re:' subject, threading headers and the quoted
original are filled in, and reply_all adds the other recipients as Cc.
attachments are paths of local files. Returns the draft's uid for
send_draft; the user can also open and edit the draft in webmail.
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": {
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | Yes | ||
| subject | No | ||
| reply_all | No | ||
| attachments | No | ||
| reply_folder | No | inbox | |
| reply_to_uid | No |