promote_variant
Promote a script variant to main while preserving the previous main in history. Use it to switch the active teleprompter script without losing earlier versions.
Instructions
Make a variant the main script. The old main stays in history.
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": {
"session": "<session>",
"variant": "<variant>"
},
"name": "promote_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. | |
| variant | Yes | Variant id from get_session. |