run_campaign
Execute a saved campaign, running all variant-replicate pairs with a paired design to log audience reactions for A/B testing.
Instructions
Run a saved campaign against its audience and log every reaction.
Runs every variant x replicate with a PAIRED design (identical audience, reach and network randomness per replicate across variants), so A/B differences are attributable to the creative.
Cognition: personas react via the configured backend — a live local LLM when SYNTH_LLM_MODE=live (Ollama etc.), otherwise the deterministic heuristic model.
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_name": "<campaign_name>"
},
"name": "run_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| watch | No | Slow the NetLogo run down (~0.15s/tick) to watch the campaign spread through the network live. Ignored for engine="python". | |
| engine | No | "netlogo" (visible simulation in the NetLogo window; first call boots the JVM, 30-60s) or "python" (headless, fastest). | netlogo |
| campaign_name | Yes | A campaign saved with create_campaign. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |