Mail Create Draft
mail_create_draftCreates a reviewable Gmail draft in the Hermes account without sending it, so the user can confirm and send it later from Gmail.
Instructions
Create a new draft in the Hermes account's Gmail. Does NOT send: the user reviews and sends it from Gmail. Requires user confirmation before calling.
Recipients are addr or Name <addr> strings with ASCII addresses; quote
a display name that contains a comma. attachments are absolute local file
paths (~ is expanded).
Returns dict with keys: draft_id, message_id, thread_id, to, cc,
subject, warning (always null for this tool).
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": "mail_create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | Yes | ||
| subject | Yes | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||