km_add_execute_macro
Add an action to a Keyboard Maestro macro that triggers execution of another macro, optionally passing a parameter. Specify the target macro and the macro to execute.
Instructions
Add an action to execute another macro.
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>",
"macroToExecute": "<macroToExecute>"
},
"name": "km_add_execute_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameter | No | Optional parameter to pass to the executed macro | |
| macroToExecute | Yes | Name or UID of the macro to execute | |
| macroIdentifier | Yes | Macro name or UID to add the action to |