learn.experiment
Run A/B experiments by splitting traffic between a control resource and a variant, using learned lessons to test improvements.
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": {
"resource_id": "<resource_id>",
"variant_b": "<variant_b>"
},
"name": "learn.experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant_b | Yes | ||
| resource_id | Yes | ||
| traffic_split | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||