restore_script_version
Restore an earlier script version for a session by version ID while saving the current text to history first.
Instructions
Put an old version back (the current text is saved to history first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| version | Yes | Version id from the history list. |