Send draft
send_draftSends an existing draft exactly as reviewed only when its revision matches, preventing accidental edits from being mailed; if the outcome is unknown, check Sent before retrying.
Instructions
Send one existing draft this project created, unchanged since expected_revision (from get_draft or the last update_draft); a mismatch fails with draft_conflict. Only listed when the operator enabled sending and granted send on this mailbox; otherwise ask the owner with request_send, which also schedules. Accepts no recipients or content. outcome_unknown means the mail may have gone out: never retry it, check Sent.
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>",
"draft_id": "<draft_id>",
"expected_revision": "<expected_revision>"
},
"name": "send_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Mailbox alias or email address from list_accounts. | |
| draft_id | Yes | Draft id from create_draft or list_drafts. | |
| expected_revision | Yes | Revision of the draft as the owner reviewed it; a mismatch fails with draft_conflict. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | ||
| sent_message_id | No |