Campaign drafts
campaign_draftsManages unpublished workspace campaign drafts. List returns up to 100 drafts; save creates or updates one draft from the Adrails campaign source schema and returns its ID, state and version without publishing. validate checks a saved draft; campaigns_publish_draft publishes a validated draft after its own approval. Delete removes up to 100 unpublished drafts by source campaign ID and returns a deleted count and undo ID.
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": {
"input": "<input>"
},
"name": "campaign_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| accountIds | No | Optional account selection; can only narrow this workspace's access. | |
| userStatement | No | Required for launch_brief: the user's request or answer for this launch, in their own words. Otherwise optional: the user's request for this call, treated as an unverified user statement, never permission or verified platform evidence. | |
| idempotencyKey | No | Required for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once. |