get_script_content
Retrieve the full source code of a specific file in an Apps Script project. Use after get_script_project to access the file content.
Instructions
Retrieve the full source of one file in an Apps Script project.
Use this after get_script_project has surfaced the file names. For project-wide overview use get_script_project. Requires the script.projects readonly OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| script_id | Yes | Apps Script project ID. | |
| file_name | Yes | File name as it appears in the Apps Script editor (without extension — e.g. "Code", "appsscript", "helpers"). Matched exactly. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |