create_script_project_tool
Create new Google Apps Script projects, either standalone or bound to Google Docs, Sheets, Forms, or Slides for document-specific automation.
Instructions
Create a new Apps Script project (standalone or bound to a document).
Args: title: Project title parent_id: Optional - the Google Drive ID of a container document to bind to. Leave empty for standalone scripts.
To create a BOUND script, pass the ID of:
- Google Sheet (from the URL: docs.google.com/spreadsheets/d/{ID}/edit)
- Google Doc (from the URL: docs.google.com/document/d/{ID}/edit)
- Google Form (from the URL: docs.google.com/forms/d/{ID}/edit)
- Google Slides (from the URL: docs.google.com/presentation/d/{ID}/edit)
Bound scripts can use document-specific features like custom menus,
onOpen triggers, and getActiveSpreadsheet().
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| parent_id | No |