Preview & validate a campaign before launching
campaign_previewDry-run a campaign to validate its settings and generate a single-use preview token for launch. The token expires in 5 minutes and is invalidated by any edits.
Instructions
Dry-run the campaign and return the launch plan + a single-use preview_token. The token is bound to the current state of audience/channels/creative/metric/budget/schedule and ALL of these must be present and valid for the token to be returned. Pass the token to campaign_launch within 5 minutes — editing the campaign in between invalidates it.
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": "campaign_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign UUID. |