Get Script Content
get_script_contentRetrieve the content of a specific file from a Google Apps Script project by providing the script ID and file name.
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 |
|---|---|---|---|
| user_google_email | Yes | User's email address | |
| script_id | Yes | The script project ID | |
| file_name | Yes | Name of the file to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |