Create an AgentMail draft
create_agentmail_draftWrite a draft into the AgentMail inbox without sending it. The person reviews and sends it from the AgentMail console. Works even when sending is switched off. For a reply, set replyToMessageId — recipients and subject then come from the original.
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": {
"mailbox": "<mailbox>",
"body": "<body>"
},
"name": "create_agentmail_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Required unless replyToMessageId is set | |
| bcc | No | ||
| body | Yes | ||
| mailbox | Yes | Address of the connected AgentMail inbox to act on. Call list_authorized_mailboxes to see available options. | |
| subject | No | Required unless replyToMessageId is set | |
| replyToMessageId | No | Draft a reply to this message. |