update_campaign
Partially update a campaign by ID while it is draft or pending approval. Use null to clear nullable fields like segmentId or topicId.
Instructions
Update a campaign by id (partial) — only while it is draft or pending_approval (409 once sending). Pass an explicit null to clear a nullable field (segmentId/topicId/templateId/subject/html/text/fromName/replyTo/scheduledAt/throttlePerHour).
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 | Campaign id. | |
| html | No | ||
| name | No | ||
| text | No | ||
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| replyTo | No | ||
| subject | No | ||
| topicId | No | ||
| fromName | No | ||
| fromEmail | No | ||
| segmentId | No | ||
| templateId | No | ||
| scheduledAt | No | ||
| throttlePerHour | No | ||
| approvalRequired | No |