Create and launch a calling campaign
start_campaignCreate a calling campaign and launch it immediately. Phone Bud dials every number in entries with the same agent + objective, then extracts structured results per call. Each entry needs a number — give to_phone directly, or contact_name/contact_id to look one up. The agent is optional (defaults to the favorite). Use output_fields to define what to extract from each call (e.g. price, availability). Calls run in the background; poll get_campaign for status and results.
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>",
"goal": "<goal>",
"ask_script": "<ask_script>",
"entries": "<entries>"
},
"name": "start_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What the campaign is trying to achieve overall — guides extraction + summary. | |
| mode | No | Dial one at a time (default) or several at once. | |
| name | Yes | Short campaign name, e.g. 'Caterer quotes'. | |
| entries | Yes | Who to call. At least one entry; each needs to_phone, contact_name, or contact_id. | |
| agent_id | No | Voice agent UUID. If omitted, uses the user's favorite agent. | |
| ask_script | Yes | What the agent should say/ask on every call (the per-call objective). | |
| from_phone | No | Caller-ID to display. Account default or a verified caller_id. | |
| concurrency | No | Max simultaneous calls when mode is 'parallel' (1-5). | |
| output_fields | No | Structured fields to extract from each call's transcript. | |
| voicemail_behavior | No | What the agent does on each call if voicemail/an answering machine is detected: 'leave_message', 'hangup', or 'continue'. Defaults to the account setting. |