km_add_action
Add an action to an existing Keyboard Maestro macro by providing its identifier and the action XML. This enables extending or modifying macros programmatically.
Instructions
Add an action to an existing macro using XML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroIdentifier | Yes | Macro name or UID | |
| actionXml | Yes | XML for the action (e.g. <dict><key>MacroActionType</key><string>Notification</string><key>Title</key><string>Hello</string></dict>) |