create_draft
Compose and save a new email draft to the Drafts folder without sending it, with recipients, subject, text or HTML body, and optional local file attachments.
Instructions
Create a draft in the Drafts folder without sending it.
to/cc comma-separated; attachments = local file paths.
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": {
"to": "<to>",
"subject": "<subject>",
"body_text": "<body_text>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| subject | Yes | ||
| body_html | No | ||
| body_text | Yes | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |