draft_message
Draft an email or letter for a lead from its memory + recent activity. Returns {subject, body, attachments: []}; does not send, attaches nothing. channel must be 'email' or 'letter'. To ask for approval, pass it as delegate_to_user questions[].email {to, subject, body, attachments} — keep attachments: [] unless you add files that really go out.
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": {
"lead_id": "<lead_id>",
"channel": "<channel>"
},
"name": "draft_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Draft type: 'email' or 'letter' | |
| lead_id | Yes | ID of the lead | |
| instructions | No | Optional guidance for the draft's content, tone or purpose |