draft_reply
Draft an email reply using a local AI model from a message reference, with optional instructions for tone or content. Returns plain text for review and sending.
Instructions
Draft a reply to an email using the configured local AI model. Returns plain text body ready to pass to reply_email. Does not send — use reply_email to review and 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_ref": "<message_ref>"
},
"name": "draft_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Optional instruction for how to reply, e.g. "decline politely", "ask for more details", "confirm receipt". If omitted, the model writes a neutral professional reply. | |
| message_ref | Yes | Composite message reference from list_emails or search_emails. |