create_draft
Save a new email draft to your Yahoo Mail Drafts folder without sending it, so you can review, edit, and send it later from Yahoo Mail.
Instructions
Create a new email draft and save it to the Yahoo Mail Drafts folder. The email is NOT sent; the user reviews and sends it from Yahoo Mail. Returns the full draft and its UID. To revise the draft later, call update_draft with that UID.
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": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional Cc address(es) | |
| to | Yes | Recipient address(es), e.g. ["Jane <jane@example.com>", "b@example.com"] | |
| bcc | No | Optional Bcc address(es) | |
| body | Yes | Plain-text body of the email | |
| html | No | Optional HTML version of the body. If omitted, the email is plain text only. | |
| subject | Yes | Subject line | |
| attachments | No | Optional paths of local files to attach (e.g. files saved by download_attachments) |