script_create_project
Creates an Apps Script project with code files and optionally binds it to a Google Sheet, Doc, Slides, or Form; returns the script ID and editor link.
Instructions
Create an Apps Script project with code. Pass parentId (a Google Sheet/Doc/Slides/Form ID or URL) to make it a container-bound script that can use SpreadsheetApp.getActiveSpreadsheet(), custom functions and custom menus. Returns the scriptId and editor link.
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": {
"title": "<title>",
"files": "<files>"
},
"name": "script_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| title | Yes | ||
| parentId | No | Bind to this Sheet/Doc/Slides/Form (ID or URL) | |
| timeZone | No | Asia/Kolkata | |
| oauthScopes | No | Optional explicit scopes for the manifest; usually leave empty so Apps Script detects them |