draft_reply
Create reply drafts to emails by automatically populating recipients, subject lines, and threading headers from the original message.
Instructions
Create a reply draft to an existing email. Automatically derives recipient, subject (Re: prefix), and threading headers from the original email. Set reply_all to true to include original recipients as CC. Returns {id, subject, to, date} of the created draft.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "draft_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the email to reply to. | |
| body | Yes | Plain text reply body. | |
| reply_all | No | Include original To/CC recipients as CC (default: false). | |
| mailbox | No | Optional folder hint for faster lookup. If omitted, searches all folders. |