get_script_content_tool
Retrieve the content of a specific file from a Google Apps Script project by providing the script ID and file name.
Instructions
Retrieve content of a specific file within a project.
Args: script_id: The script project ID file_name: Name of the file to retrieve (e.g., "Code", "appsscript")
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": {
"script_id": "<script_id>",
"file_name": "<file_name>"
},
"name": "get_script_content_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | ||
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |