Create VOIP Campaign
create_voip_campaign[write] Creates a DRAFT outgoing call campaign (number and assistant by id or by uuid; the result has the campaign's id and uuid); nothing is dialled until it is started (which needs a yes, and the merchant's own confirmation in the panel that the people agreed to be called).
voip_campaign_window is when it may call: {timezone: "Europe/Istanbul", days: ["MON".."SUN"], start: "10:00", end: "19:00"}. voip_campaign_country is the calling code (e.g. 90) that completes numbers starting with 0.
{name} in the opening and the purpose is replaced by each person's name. Up to 10 calls at once, 5 attempts, retry after 5-1440 minutes.
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": {
"voip_campaign_title": "<voip_campaign_title>",
"voip_campaign_purpose": "<voip_campaign_purpose>",
"voip_campaign_opening": "<voip_campaign_opening>",
"voip_campaign_window": "<voip_campaign_window>"
},
"name": "create_voip_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voip_number_id | No | ||
| voip_number_uuid | No | ||
| voip_assistant_id | No | ||
| voip_assistant_uuid | No | ||
| voip_campaign_title | Yes | ||
| voip_campaign_window | Yes | ||
| voip_campaign_country | No | ||
| voip_campaign_opening | Yes | ||
| voip_campaign_purpose | Yes | ||
| voip_campaign_max_attempts | No | ||
| voip_campaign_retry_minutes | No | ||
| voip_campaign_machine_action | No | HANGUP | |
| voip_campaign_max_concurrent | No | ||
| voip_campaign_machine_message | No |