Gmail Save Draft
gmail_save_draftSave an email as a Gmail draft instead of sending it, so you can review or edit before delivery. Omit the draft ID to create a new draft, or pass one to rewrite an existing draft.
Instructions
Save mail as a Gmail draft without sending it, so the user can review or edit it in Gmail first: a new draft, or with draft_id a full rewrite of an existing one (pass again everything to keep). Send it later with gmail_send_draft; gmail_send_email sends right away, and gmail_reply replies in a thread right away with the reply recipients filled in. Returns status 'ok', mode ('created' or 'updated') and draft: id (the draft_id the other draft tools take), message_id, thread_id and label_ids.
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": {
"subject": "<subject>"
},
"name": "gmail_save_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Carbon-copy recipient email addresses, visible to every recipient. | |
| to | No | Primary recipient email addresses, e.g. ['ana@example.com']; may be left empty and filled in later. When rewriting, recipients left out are removed. | |
| bcc | No | Blind-copy recipient email addresses, hidden from the other recipients. | |
| subject | Yes | Subject line; non-ASCII text is encoded automatically. | |
| draft_id | No | ID of an existing draft to rewrite (from gmail_list_drafts): its recipients, subject, body and attachments are all replaced by this call. Omit to create a new draft. | |
| html_body | No | HTML body, sent as an alternative to text_body; without text_body the plain-text part is the placeholder 'This message contains HTML content.' | |
| text_body | No | Plain-text body. Pass it together with html_body to send both versions; with neither, the body is empty. | |
| thread_id | No | Gmail thread to file the draft under as a reply (thread_id from search or read results): In-Reply-To and References point at the thread's latest message, so keep the thread's subject for Gmail to join it. | |
| attachments | No | Files to attach, each with exactly one source: uploaded_file (an upload handle from uploads_file_manager) or file_path (local stdio servers only). When rewriting a draft, attachments already on it are dropped unless passed again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| draft | No | The saved draft. | |
| status | No | Machine-readable operation status. |