km_delete_action
Delete a specific action from a Keyboard Maestro macro by its 1-based index. Use this to remove unwanted steps; note it cannot be undone.
Instructions
Delete a specific action from a macro. Actions are 1-indexed. WARNING: This cannot be undone!
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>",
"actionIndex": "<actionIndex>"
},
"name": "km_delete_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionIndex | Yes | Action index to delete (1-based) | |
| macroIdentifier | Yes | Macro name or UID |