Delete a custom event
delete_custom_eventDelete a custom event script file from project/scripts/; blocks deletion if referenced by other scripts unless 'force' overrides the check.
Instructions
Delete one custom-event (script resource) file under project/scripts/. Refuses if any script references this customEventId (typically via EVENT_CALL_CUSTOM_EVENT). Pass force: true to override. The custom event's own body is deleted with the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Skip the cross-reference check. | |
| customEventId | Yes | Custom event id (UUID) to delete. |