A/B test results of campaigns
get_ab_testsResults of the A/B tests on this channel's campaigns, read only: for each test the variants (each line of the private message) with sends, unique clicks and the rate with a confidence interval, and decision: a winner (with p_value and lift), or why not yet (not_enough_data with how many more sends each variant needs, too_close, rotation_off, copy_changed). Pass campaign_id for one campaign's test. The owner starts, stops and applies tests in the dashboard: report the result and let the user decide.
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": {
"page": "<page>"
},
"name": "get_ab_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Channel id from list_pages (a Facebook Page or an Instagram account) | |
| campaign_id | No | One campaign's test; omit for every test on the channel |