script_projects_versions_list
Retrieve and manage version history for Google Apps Script projects to track changes and restore previous states.
Instructions
List the versions of a Google Apps Script project.
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": {
"scriptId": "<scriptId>"
},
"name": "script_projects_versions_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | Yes | The ID of the script project. | |
| pageSize | No | The number of versions to return per page. | |
| pageToken | No | The token for the next page of results. | |
| fields | No | Selector specifying which fields to include in a partial response. | |
| alt | No | Data format for response. | |
| key | No | API key for the request. | |
| access_token | No | OAuth access token. | |
| oauth_token | No | OAuth 2.0 token for the current user. | |
| prettyPrint | No | Returns response with indentations and line breaks. |