Change a campaign
update_campaignChanges how a campaign runs: whether its posts get a generated picture, whether it uses the calendar slots, how many days ahead it writes, or its name. Pass only what changes. Pictures apply to the posts not yet written and cost a credit each at the cheapest model - say the number before turning them on.
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": {
"id": "<id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The campaign, by id or by name. | |
| name | No | ||
| leadDays | No | How many days before a post goes out it is written. | |
| useSlots | No | Publish into the project's calendar slots. | |
| withImages | No | Generate a picture for each post still to be written. This costs credits. |