List Versions
list_versionsRetrieve all immutable version snapshots of a Google Apps Script project. Specify the script ID and user email to get a list of deployable versions.
Instructions
Lists all versions of a script project.
Versions are immutable snapshots of your script code. They are created when you deploy or explicitly create a 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": {
"user_google_email": "<user_google_email>",
"script_id": "<script_id>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | User's email address | |
| script_id | Yes | The script project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |