Plan campaign
plan-campaignStarts planning a campaign for the given personas and goal: researches the audience and how to reach it on the public web, then writes the calendar and post copy. Nothing is generated or published. Returns campaignId immediately; planning takes a few minutes (get-campaign-planning shows progress). Without platforms or connectionIds, every connected account of each listed persona is used. Returns an error while planning already runs for this campaign.
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>",
"goal": "<goal>",
"personas": "<personas>"
},
"name": "plan-campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | One goal string from list-campaign-goals. | |
| name | Yes | Short campaign name, e.g. "Spring launch" | |
| subject | No | What the campaign is about: a persona ({ type: "persona", personaId }) or free text ({ type: "text", text }). Posts state only what the subject contains. A persona subject posts only if it is also in personas. | |
| personas | Yes | Personas that may post: persona IDs as strings, or objects that limit networks or accounts. | |
| startDate | No | First day, YYYY-MM-DD. Default tomorrow. Today or later in the signed-in user's time zone (get-me). | |
| durationDays | No | Days in the campaign, 1 to 31. Default 7. The app offers 7, 14, 21 and 30. Longer means more posts and credits. | |
| clientPersonaId | No | Deprecated alias of subject { type: "persona", personaId }. |