Save version
save_versionSave a version of the current project state. The person flicks between versions in the editor to compare or roll back, so one version per logical change-set (not one per tool call) is what they can revisit. name is shown verbatim in the version picker, so a short description reads best (e.g. "add slide-in animation").
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": {
"projectId": "<projectId>"
},
"name": "save_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Short label describing what this set of changes accomplished. Defaults to a timestamp if omitted, but a description is much more useful to the user. | |
| projectId | Yes | Project to save a version of (filename stem). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The payload, shaped by the tool. | |
| note | No | What to do next when not ready. | |
| error | No | Why it failed. | |
| status | No | For cache-backed readers: whether the answer was ready. | |
| editorUrl | No | Opens this project in the editor. |