Close a campaign
close_campaignEnds the campaign now: no more answers are accepted. The price was charged at launch, so closing early refunds nothing. Campaigns also close on their own at the cap or on expiry. Closing twice changes nothing.
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": {
"apiKey": "<apiKey>",
"campaignId": "<campaignId>"
},
"name": "close_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Your Clearvoyance API key (cv_live_… or cv_test_…), from create_account | |
| campaignId | Yes | A campaign id from launch_campaign or list_my_campaigns |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |