draft_create
Create a Gmail draft message using the same MIME formatting as sending, with support for recipients, subject, body, attachments, and from identity. Prepare emails for later review before sending.
Instructions
Create a draft with the same MIME rules as send (from_identity as in 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": {
"account": "<account>",
"to": "<to>",
"subject": "<subject>"
},
"name": "draft_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | No | ||
| footer | No | ||
| account | Yes | ||
| subject | Yes | ||
| html_body | No | ||
| thread_id | No | ||
| from_identity | No | ||
| attachments_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |