script_get_content
Retrieves an Apps Script project's files and source code by script ID, optionally including source content, so you can inspect or reuse project code.
Instructions
Read an Apps Script project's files and source code.
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_get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | Yes | ||
| includeSource | No |