script_run
Run a function in a Google Apps Script project using its script ID and function name, with optional parameters and dev mode.
Instructions
Run a function in a Google Apps Script project. The script must be deployed as an API executable and share the calling OAuth client's Cloud project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devMode | No | Run the latest saved (HEAD) code instead of the deployed version. Only works for the script owner. | |
| scriptId | Yes | The ID of the script to run. | |
| parameters | No | Parameters to pass to the function (JSON-compatible values). | |
| functionName | Yes | The name of the function to execute. |