update_variant
Change a variant's script, rename its tab label, or update its note; history retains the old text. Use it to revise a take without losing earlier versions.
Instructions
Edit or rename a variant: its script, its name (the tab label) or its note. History keeps the old text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New tab label, 1-4 words. | |
| note | No | One line: what changed or why. | |
| script | No | The variant's new script. | |
| session | Yes | Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move. | |
| variant | Yes | Variant id from get_session. |