create_draft
Create a draft email with optional local-file attachments without sending. Stage it for review, then send from the CLI.
Instructions
Stage a draft (optionally with local-file attachments). Does NOT send.
attachments are local file paths. Returns the draft resource. Sending is
intentionally unavailable here; review and send the draft from the CLI.
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": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | Yes | ||
| subject | Yes | ||
| attachments | No | ||
| in_reply_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||