km_run_macro
Execute a Keyboard Maestro macro by providing its name or UID, optionally passing a parameter to it.
Instructions
Execute a macro by name or UID.
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": {
"identifier": "<identifier>"
},
"name": "km_run_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameter | No | Optional parameter to pass to the macro | |
| identifier | Yes | Macro name or UID to execute |