Get Script Content
get_script_contentFetch the content of a file inside a Google Apps Script project using its file name, script ID, and user email. Access script files directly for inspection or debugging.
Instructions
Retrieves content of a specific file within a 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": {
"user_google_email": "<user_google_email>",
"script_id": "<script_id>",
"file_name": "<file_name>"
},
"name": "get_script_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Name of the file to retrieve | |
| script_id | Yes | The script project ID | |
| user_google_email | Yes | User's email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |