create_campaign
Create an outbound calling campaign by selecting an agent and audience. The campaign starts as a draft, or you can schedule it for a future time to launch automatically.
Instructions
Create a new outbound calling campaign. Requires an agent and an audience (contact list). The campaign is created in draft status unless a scheduled time is provided, in which case it will be scheduled. Use start_campaign to begin dialing.
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": {
"name": "<name>",
"agent_id": "<agent_id>",
"audience_id": "<audience_id>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Campaign name | |
| agent_id | Yes | Agent ID to use for calls | |
| audience_id | Yes | Audience ID (contact list) to call | |
| description | No | Campaign description | |
| max_retries | No | Max retry attempts for failed/unanswered calls (0-10, default 3) | |
| retry_delay | No | Minutes to wait between retry attempts (1-1440, default 15) | |
| scheduled_at | No | Schedule campaign start time (ISO 8601, must be in the future). If omitted, campaign is created as a draft. | |
| phone_number_ids | No | Phone number product IDs to use as caller IDs. Use get_phone_numbers to find IDs. |