km_add_notification
Add a notification action to a specified Keyboard Maestro macro using its ID or name, with title, message, and optional subtitle.
Instructions
Add a notification action to a macro. Much simpler than using km_add_action with raw XML.
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>",
"title": "<title>",
"message": "<message>"
},
"name": "km_add_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Notification title | |
| message | Yes | Notification message/body text | |
| subtitle | No | Optional subtitle | |
| macroIdentifier | Yes | Macro name or UID |