campaigns_create
Create a draft campaign; enrollment_mode defaults to fixed. Choose enrollment_mode='continuous' for shared-copy additions while active — pass enrollment_mode as a TOP-LEVEL parameter, not inside settings (a nested value is ignored and the campaign silently defaults to fixed; the response returns a warning when this happens). After activation, campaigns_add_targets can append generic targets to continuous campaigns or exact personalized_steps to fixed or continuous campaigns without changing existing recipients or shared steps.
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": {
"name": "<name>",
"campaign_type": "<campaign_type>",
"steps": "<steps>",
"targets": "<targets>"
},
"name": "campaigns_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| name | Yes | Campaign name | |
| steps | Yes | Ordered list of campaign steps | |
| targets | Yes | Targets to enroll in the campaign | |
| settings | No | ||
| goal_custom | No | ||
| resource_url | No | ||
| skill_run_id | No | ||
| campaign_type | Yes | Campaign type | |
| enrollment_mode | No |