Draft a message (never sent)
draft_messageCreates and saves new emails or replies as .eml draft files for the user to review and send from their own mail program; it never sends messages.
Instructions
Write a new message or a reply as a draft and save it as an .eml file the person can open, check and send from their own mail program. Nothing is ever sent: sending needs the mailbox owner, in the MailCraft app. A reply (reply_to_id with the mailbox in input_paths) keeps the original subject, recipients and quoted text. Attachments are read from absolute paths.
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": "draft_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Addresses separated by ";" (a reply defaults to the sender). | |
| bcc | No | ||
| body | Yes | Message text. | |
| name | No | File name without extension. | draft |
| subject | No | ||
| overwrite | No | ||
| reply_all | No | ||
| output_dir | No | ||
| attachments | No | ||
| input_paths | No | For a reply: the mail files holding the original message. | |
| output_path | No | ||
| reply_to_id | No | Message id to answer (list_messages). |