script_projects_get_content
Retrieve the content of a Google Apps Script project by providing its script ID to access code and files for editing or analysis.
Instructions
Get the content 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_get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | Yes | The ID of the script project to retrieve content for. | |
| versionNumber | No | The version number of the script project. | |
| fields | No | Selector specifying which fields to include in a partial response. | |
| alt | No | Data format for response. | |
| key | No | API key for the project. | |
| access_token | No | OAuth access token. | |
| prettyPrint | No | Returns response with indentations and line breaks. |