checkouts_variant_test_save
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Start or update the current Checkout variant test with selected published variant allocations and explicit optimization goal. Requires approval; no payment is created.
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": {
"siteId": "<siteId>",
"checkoutId": "<checkoutId>",
"name": "<name>",
"allocations": "<allocations>",
"aiOptimizationEnabled": "<aiOptimizationEnabled>",
"checkoutOptimizationGoal": "<checkoutOptimizationGoal>",
"idempotencyKey": "<idempotencyKey>",
"confirm": "<confirm>"
},
"name": "checkouts_variant_test_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| confirm | Yes | Required for this high-impact action. Set to true only after the user has approved the action. | |
| checkoutId | Yes | ||
| hypothesis | No | ||
| allocations | Yes | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. | |
| aiOptimizationEnabled | Yes | ||
| checkoutOptimizationGoal | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |