Préparer un brouillon de campagne
prepare_campaign_draftStores a draft of a new campaign (kind, name, country, dates, ticket price, prizes, description) for the signed-in organiser and returns the console link where the organiser reviews it and creates the campaign. The draft itself creates, launches and charges nothing, and it expires after 7 days. The same proposal_key with the same draft returns the same proposal.
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": {
"proposal_key": "<proposal_key>",
"draft": "<draft>"
},
"name": "prepare_campaign_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| proposal_key | Yes | Idempotency key chosen by the client, 8 to 128 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| expires_at | Yes | ||
| console_url | Yes | ||
| proposal_id | Yes |