Create draft
create_draftCreate a draft in the mailbox (201) and return its id plus jmap_state for later concurrency checks. Drafts do not accept the send attachment array.
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": {
"identity_id": "<identity_id>",
"to": "<to>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| html | No | ||
| text | No | ||
| subject | No | ||
| identity_id | Yes | Identity id from list_identities. | |
| in_reply_to | No |