send_notification
Send customizable notifications on macOS devices by specifying a title, message, optional subtitle, and sound settings using the osascript command.
Instructions
Send a notification on macOS using osascript
Input Schema
Name | Required | Description | Default |
---|---|---|---|
message | Yes | Main message content | |
sound | No | Whether to play the default notification sound | |
subtitle | No | Optional subtitle | |
title | Yes | Title of the notification |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"message": {
"description": "Main message content",
"type": "string"
},
"sound": {
"default": true,
"description": "Whether to play the default notification sound",
"type": "boolean"
},
"subtitle": {
"description": "Optional subtitle",
"type": "string"
},
"title": {
"description": "Title of the notification",
"type": "string"
}
},
"required": [
"title",
"message"
],
"type": "object"
}