generate_campaign_message
Generate (or regenerate) an AI personalized message draft for a specific campaign_contact and step, using the template and lead profile. The message is NOT sent — it is stored as a draft with status 'pending_approval' and waits for review (via this MCP or manually). Use list_pending_approvals + approve_message to release it to the campaign executor.
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": {
"campaign_contact_id": "<campaign_contact_id>",
"step_id": "<step_id>"
},
"name": "generate_campaign_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_id | Yes | UUID of the campaign_messages step to generate the message for | |
| campaign_contact_id | Yes | UUID of the campaign_contact | |
| custom_instructions | No | Optional extra instructions appended to the step's ai_prompt (e.g. tone, angle). |