reply_draft
Creates a draft response to the original sender for review before sending. Use it to edit or approve the message, then send the saved draft.
Instructions
Create a reply Draft addressed to the original sender, instead of sending immediately. Review or edit it, then use send_draft. Returns the created Draft's id, subject, and to/cc.
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": {
"messageId": "<messageId>"
},
"name": "reply_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional reply body text | |
| messageId | Yes | The Message ID to reply to | |
| contentType | No | How to treat the comment: 'text' (default) HTML-escapes it so it renders literally; 'html' passes it through as-is (validated for unsupported CSS). |