Unschedule or cancel an email
postfjord_cancel_campaignStops an email. By default one that has not started going out turns back into a draft (nothing sent), and one that is going out is cancelled: people who got it keep it, nobody else gets it. mode "unschedule" only turns it back into a draft; mode "cancel" always cancels, and a cancelled email cannot be scheduled again. Needs the Schedule and publish level.
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": {
"campaignId": "<campaignId>"
},
"name": "postfjord_cancel_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| campaignId | Yes |