Draft follow-up email
draft_followupCreate or replace a registrant's plain-text follow-up email draft for admin approval before sending.
Instructions
Create or replace the follow-up email draft for one registrant (one draft per registration). Plain text: blank lines make paragraphs, no HTML, no merge fields (write the name yourself). Nothing is sent: a human with an admin key or the host app must approve it, then send_followup sends it. Changing the text of an approved draft takes the approval away. already_sent once it is queued or sent. Example: {"registration_id":"...","subject":"Your question about pricing","body":"Hi Ann,\n\nThanks for joining..."}.
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": {
"registration_id": "<registration_id>",
"subject": "<subject>",
"body": "<body>"
},
"name": "draft_followup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain text, max 5000 chars | |
| dry_run | No | true: validate and show what would happen without changing anything | |
| subject | Yes | One line, max 150 chars | |
| idempotency_key | No | Any unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice | |
| registration_id | Yes | Registration id (UUID) from get_call_list or list_registrants |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| result | Yes | ||
| status | No | ||
| changes | No | ||
| dry_run | No | ||
| message | No | ||
| error_code | No |