Draft a reply to a message
mail_draft_replyCreates an RFC5322 reply-all draft from a stored message, saves it to the MCP draft folder, and returns its ID, fingerprint, and text for review before sending.
Instructions
Generate an RFC5322 reply-all draft for a stored message and write it to the MCP-dedicated draft folder. message_id is the RFC Message-ID (e.g. 'abc@example.com') from mail_show, not the numeric id from mail_search. Returns its draft_id, content fingerprint (SHA-256), and full draft text for review. The draft is NOT sent. Present the complete draft (Subject, To, Cc, Bcc, body, attachments, draft_id, and fingerprint) to the user for conversational review before calling mail_send.
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>",
"body_text": "<body_text>"
},
"name": "mail_draft_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| exclude | No | ||
| body_text | Yes | ||
| message_id | Yes | ||
| attachments | No | ||
| replace_recipients | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||