create_version_tool
Create immutable snapshots of Google Apps Script projects to preserve code states for deployment or backup purposes.
Instructions
Create a new immutable version of a script project.
Versions capture a snapshot of the current script code. Once created, versions cannot be modified.
Args: script_id: The script project ID description: Optional description for this version
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": {
"script_id": "<script_id>"
},
"name": "create_version_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |