preflight
Validates an experiment before launch by checking its warehouse, variant keys, metric events, and code for exposure tracking and event sending.
Instructions
Check an experiment before it starts: warehouse, variant keys, metric events, and (with code_root) whether the code records exposures and sends the events the metrics count.
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": {
"experiment": "<experiment>"
},
"name": "preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probe | No | On a running experiment: evaluate this many made-up identities to verify assignment. Records no exposures, but leaves identities named referee-probe-NNNNNN in Flagsmith. | |
| code_root | No | Directory of the source tree to scan. Defaults to the directory the server runs in. | |
| experiment | Yes | Experiment id, exact experiment name, or its flag name. |