Manage Script Trigger
manage_script_triggerList or delete installable triggers on a Google Apps Script project. Use this to inspect or remove triggers without opening the editor.
Instructions
List or delete the current user's installable triggers on a script project.
The Apps Script REST API has no triggers resource, so in dev_mode both actions
provision (or refresh) a small helper file and run it via the Execution
API - the only way to inspect or change trigger state without opening the
editor. Neither action is read-only: the helper file may be written into the
project on first use. To create a trigger, use generate_trigger_code to
produce the setup code, add it with manage_script_content, then run it with
run_script_function.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | One of "list", "delete". | |
| dev_mode | No | Run against the latest saved code (default; project owner only) vs. the deployed version. False requires the helper to already exist in the deployed version. | |
| script_id | Yes | The script project ID. | |
| trigger_id | No | Unique ID of a specific trigger to delete (delete only). | |
| deployment_id | No | Optional API Executable deployment ID. When omitted, the highest versioned API Executable deployment is used. | |
| handler_function | No | Delete all triggers calling this function name (delete only). | |
| user_google_email | Yes | User's email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |