Generate a campaign plan
luca_campaigns_generateBuilds a fixed-rule campaign plan from a brief for review before you create and publish the draft. Requires lead source and, for comment campaigns, the comment keyword.
Instructions
Build a campaign plan from a brief with fixed rules, not an AI model. Nothing is created or published: create the draft from the plan, review it, and publish it yourself. A new brief has to say where leads come from: set body.source, or say it in body.prompt, for example a comment on a post or a DM. A comment campaign also has to name the word people comment in body.prompt, for example comment "GUIDE". If either is missing, Luca answers 400 and says what to add.
Luca operation: POST /api/campaigns/generate Required scopes: campaigns:read Required OAuth scope: luca:draft; data sensitivity: redacted Does not require idempotency. Use workspaceId or workspaceSlug to override the default workspace configured by environment.
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": {
"body": "<body>"
},
"name": "luca_campaigns_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |