Draft reply
draft_replyTool 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": {
"email_id": "<email_id>",
"body": "<body>"
},
"name": "draft_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional list of additional CC recipients. Each is an object with required "email" and optional "name". Example: [{"email": "bob@acme.com"}] | |
| bcc | No | Optional list of BCC recipients, same format as "cc". | |
| body | Yes | Reply body in Markdown, rendered to HTML at send time — same rules as draft_email: hyperlinks as [text](url), single newlines preserved as line breaks. | |
| email_id | Yes | The database id of the email to reply to (from search_emails results) | |
| reply_all | No | If true, reply to all original recipients (Reply All). Default: false (reply to sender only). | |
| on_behalf_of | No | A teammate's email, or an agency client's from list_agency_clients, to run this call in that account: their agents, settings, connected accounts, and credits. Omit it to act on your own account. |