Show draft
show_draftShow an email draft as a card the user reviews, then saves or sends with its buttons, each checked by Keeploop's permissions. Saves and sends nothing itself. For a reply pass mail_id (recipients come from that message); for a new email pass sender, to, subject.
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": {
"body": "<body>"
},
"name": "show_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| body | Yes | ||
| sender | No | ||
| mail_id | No | ||
| subject | No | ||
| reply_all | No | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | Yes | ||
| to | Yes | ||
| body | Yes | ||
| kind | Yes | ||
| state | No | ||
| sender | Yes | ||
| status | Yes | ||
| actions | Yes | ||
| subject | Yes | ||
| warnings | Yes | ||
| attachments | Yes |