Create experiment
create_experimentUse when the user wants a new A/B test. Returns the created id, variant keys, and the goal event. To pause, resume, or complete one, use update_experiment. To remove one, use delete_experiment.
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": {
"project": "<project>",
"name": "<name>",
"variants": "<variants>",
"goal_event": "<goal_event>"
},
"name": "create_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Experiment name | |
| project | Yes | Project name | |
| weights | No | Variant weights, for example 50 and 50 | |
| variants | Yes | Variant keys, for example control and new_cta | |
| goal_event | Yes | Goal event name to measure conversions |