km_delete_trigger
Delete a specific trigger from a Keyboard Maestro macro. Provide the macro name or UID and the 1-based trigger index to remove.
Instructions
Delete a trigger from a macro. Triggers are 1-indexed.
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": {
"macroIdentifier": "<macroIdentifier>",
"triggerIndex": "<triggerIndex>"
},
"name": "km_delete_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| triggerIndex | Yes | Trigger index to delete (1-based) | |
| macroIdentifier | Yes | Macro name or UID |