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.
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": {
"customEventId": "<customEventId>"
},
"name": "delete_custom_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Skip the cross-reference check. | |
| customEventId | Yes | Custom event id (UUID) to delete. |