Save version
save_versionSave the file as it is now as a named version in its history, which the user can preview and restore from the app. Versions are also saved automatically after each editing session.
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": {
"fileId": "<fileId>",
"name": "<name>"
},
"name": "save_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fileId | Yes | ||
| description | No |