create_draft
Create a Gmail draft for user review before sending; optionally place it in an existing thread as a reply and attach only requested local files.
Instructions
Creates a draft. It is NOT sent: the user reviews and sends it from Gmail. With reply_to_id it goes into that thread as a reply. attachments takes paths of local files (only from Downloads, Desktop or Documents, never hidden folders; up to 24 MB in total). Only attach files the user asked for.
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": {
"account": "<account>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| body | Yes | ||
| account | Yes | Email address or label of the account (see list_accounts). | |
| subject | No | ||
| attachments | No | Paths of local files to attach (optional) | |
| reply_to_id | No | ID of the email being answered (optional) |