Post a notification
hs_notificationPost a real macOS notification to Notification Center, ideal for alerts after stepping away. Focus modes can suppress delivery; for transient on-screen messages use hs_notify instead.
Instructions
Post a real macOS notification. Delivery cannot be verified from here: an active Focus mode silently suppresses or files the banner, so posted=true means handed to Notification Center, not necessarily seen. Use this when the user should see something after stepping away. For a transient on-screen message that ignores Focus modes and leaves no trace, use hs_notify instead.
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": {
"title": "<title>"
},
"name": "hs_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Body text. | |
| title | Yes | Notification title. | |
| withdrawAfter | No | Seconds before it withdraws itself. 0 keeps it in Notification Center. |