Analyse the answers
analyze_campaignRuns the AI analysis over every answer so far and returns an executive summary with themes, sentiment and quotes; the report is then also part of get_campaign_results. Re-running with no new answers returns the same report. A sandbox campaign gets the illustrative sample report, marked sample: true.
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": "analyze_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 |