Draft an experiment
create_experimentDraft an experiment on a page: one block (such as the hero, by block id from get_page) or the whole page, with a goal. It is created as a draft with variant B a copy of the page; change the variant with update_experiment_variant. A person checks it and starts it in CMS Orbit; you cannot start, stop or promote experiments. Returns the experiment's id, its status (draft) and its variants.
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": {
"pageId": "<pageId>",
"name": "<name>",
"goal": "<goal>"
},
"name": "create_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What counts as a success: a click in the tested block, a form sent, a visit to a page, or an event such as Booking paid. | |
| name | Yes | A short name people recognise, such as Hero headline test. | |
| pageId | Yes | The page to test's id, as returned by search_content, list_pages or create_draft. | |
| blockId | No | The top-level block to test. Leave out to test the whole page. | |
| hypothesis | No | What you expect and why, such as: a clearer price in the hero gets more bookings. |