promote_winner
Close a test with a winner. Without variant_id the suggested winner is used (409 when the numbers have not picked one). Losing variants still waiting for approval are withdrawn; scheduled or published posts are left alone. Pass networks to also draft the winning text for other networks. Those drafts go to the approval queue and are never published by this tool. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
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": {
"test_id": "<test_id>"
},
"name": "promote_winner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_id | Yes | Test id. | |
| networks | No | Also draft the winner for these networks (approval queue). Optional. | |
| variant_id | No | Pick this variant yourself instead of the suggested one. | |
| account_ids | No | Integration ids from list_integrations to post from. Needed when the workspace has more than one account on a chosen network, otherwise approval is refused as ambiguous. |