show_popup
Display quick macOS notification popups to alert users about completed tasks, deployments, or errors, with optional buttons to open links, copy values, or dismiss the card.
Instructions
Show a quick notification popup on Wael's macOS screen via a native Electron window (dark glassy card, top-right, auto-dismiss). Use it to alert Wael of important information: task done, deploy finished, error found, etc. Add buttons to make the card actionable: a button can open an http(s) URL in his real browser (where his sessions are logged in), copy a value to the clipboard, or dismiss the card. The message body stays plain text — for a link inside the text or a markdown report, use show_docs.
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": "show_popup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Visual severity: info (blue), success (green), warning (orange), error (red) | |
| title | Yes | Short bold title of the popup | |
| screen | No | Display id, index, label, 'primary', or 'focused'. Omit for primary. | |
| source | No | Origin chip label, e.g. 'Gilfoyle', 'Deploy' | |
| buttons | No | Action buttons rendered under the card. An entry is either an object or a one-line string: {"label": "Open the thread", "url": "https://..."} -> opens the default browser, where the session is already logged in {"label": "Copy SN", "copy": "SN123456"} -> copies to the clipboard {"label": "Close"} -> dismisses the card "Label | https://... | primary" -> same thing, one line Optional style: primary | secondary | danger (the first button defaults to primary). A button is how a card becomes actionable: show_popup renders plain text, so use show_docs or this array when Wael has to click something. The button does not reply to you: it opens a page or copies text. Everything the agent must learn has to be written in the card itself. | |
| message | No | Notification body text (plain text) | |
| duration | No | Seconds before auto-dismiss (default 8, max 300) |