Meta: Cancel A/B Test
meta_cancel_ab_testCancel a Meta A/B test or lift study of the business that owns your ad account. This deletes the study and its results; to stop it and keep the results use meta_end_ab_test. Two steps: confirmed=false (default) is a preview — it shows the study and the results that would be lost, and deletes nothing; confirmed=true deletes it. Set confirmed=true only after the user explicitly approved deleting this study in chat. The campaigns and ad sets in it keep running; pause them with meta_set_status.
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": {
"study_id": "<study_id>"
},
"name": "meta_cancel_ab_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study_id | Yes | A/B test or lift study id. | |
| confirmed | No | false (default): preview only — shows the study and the results that would be deleted. true: delete it — set only after the user explicitly approved deleting this study in this conversation. | |
| ad_account_id | No | Meta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Study name. | |
| type | No | SPLIT_TEST, LIFT, … | |
| stage | Yes | PREVIEW (nothing deleted) or DELETED. | |
| endTime | No | Study end. | |
| studyId | Yes | Study previewed or deleted. | |
| startTime | No | Study start. |