Save or update a Gmail draft reply
set_draftSave or update a Gmail draft reply for a thread without sending. Provide recipients, subject, body; optionally include quoted original text and signature.
Instructions
Save/update a Gmail draft reply for a thread without sending. Requires messageId, to, subject, and body; use format text/html for HTML drafts (default text/plain). quoteOriginal (default true) appends Gmail-style quoted parent history so drafts show the collapsible history expander in Gmail. appendSignature (default true) appends the account Gmail signature from Settings above the quote block.
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>",
"to": "<to>",
"subject": "<subject>"
},
"name": "set_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | ||
| to | Yes | ||
| subject | Yes | ||
| body | No | ||
| html | No | ||
| format | No | text/plain | |
| cc | No | ||
| bcc | No | ||
| quoteOriginal | No | ||
| appendSignature | No | ||
| accountAlias | No | ||
| chatScope | No |