splithub_push
Upload splithub.config.ts to SplitHub Cloud to sync A/B test experiments; optionally preview changes with dryRun and prune cloud-only experiments only when requested.
Instructions
Upload splithub.config.ts to SplitHub Cloud (cloud mode). Also returns kept: experiments the cloud has from an earlier push that this file lacks, left as they are. prune removes those: only when the user asked for it. Returns experiments created in the dashboard that were written into the file. dryRun: only check the config and show what would change. A key that already belonged to another experiment fails with KEY_CONFLICT: ask the user, then push with replace (new experiment, old numbers cleared) or same (same experiment, numbers stay).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "splithub_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| same | No | keys that are the same experiment as before: the numbers stay | |
| prune | No | also remove experiments the cloud has that the file lacks (ask the user first) | |
| dryRun | No | ||
| replace | No | keys that are new experiments: the old numbers under them are cleared |