update_campaign
Update a campaign (partial; empty values are NOT cleared — list a column in clear_fields to blank it). status: draft|active|paused|completed.
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_id": "<campaign_id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the campaign | |
| notes | No | Free-text notes | |
| status | No | New status | |
| end_date | No | End date (YYYY-MM-DD) | |
| owner_id | No | ID of the owner (user) | |
| from_name | No | Sender display name | |
| script_id | No | ID of the script | |
| bcc_emails | No | Blind-copy archive for EVERY send of this campaign — array or comma-separated string. Set as a real BCC, never appended to 'to'. Put it here rather than on each call: a call parameter can be forgotten, a campaign field cannot. Pass bcc_emails in clear_fields to switch the archive off. | |
| from_email | No | Sender email address | |
| start_date | No | Start date (YYYY-MM-DD) | |
| campaign_id | Yes | ID of the campaign to change | |
| description | No | Description of the campaign | |
| clear_fields | No | Column names to set to NULL (opt-in clear). | |
| email_signature | No | E-mail signature used for this campaign's mails | |
| daily_call_target | No | Number of calls planned per day (integer) |