Estimation d'une campagne
estimate_campaignEstimates the money of a campaign from its ticket price and the number of tickets expected: gross amount, plan fee, Flex fee beyond the plan caps, payment provider fee, net amount after the value of the prizes, and the cheapest plan. Amounts are integers in minor units (cents) of the pricing currency. The result is an estimate, dated by the prices it uses.
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": {
"ticket_price_minor": "<ticket_price_minor>",
"tickets_expected": "<tickets_expected>"
},
"name": "estimate_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| language | No | ||
| provider | No | ||
| tickets_expected | Yes | ||
| tickets_per_sale | No | ||
| prizes_value_minor | No | ||
| ticket_price_minor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| fees | Yes | ||
| gross | Yes | ||
| inputs | Yes | ||
| notice | Yes | ||
| prices_dated | Yes | ||
| plan_suggested | Yes |