Send notification
send_notificationSend a push notification to the user's own paired devices (their phone and desktop running Reflecto). Use this when the user explicitly asks to be notified, pinged, or alerted, or asks you to let them know when a long-running task finishes. The notification reaches the user even when they are away from this chat. Do not use it for routine replies that belong in the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds to keep the message queued if undelivered. The server floors fractions and clamps to [0, 259200] (72h), so no client-side bound is enforced here. | |
| url | No | http(s) link for the notification. Opens on tap on Android; the desktop extension does not surface links in v1, so prefer an Android target when the link matters. | |
| tags | No | Up to 5 short labels; extra entries are dropped with a warning. | |
| title | No | Headline shown above the body. Server cap: 100 bytes. | |
| device | No | Which devices to notify. Prefer the reliable values: 'all' (default), 'phone'/'mobile', or 'desktop'. A comma-separated list of custom device labels also works; call list_devices first to discover the exact labels (when that tool is available). To reach EXACTLY one device, pass its `deviceId` from list_devices instead of its label — labels are not unique, and a label shared by two devices delivers to both. An unknown label is skipped with a warning rather than failing — use the class names above unless the user named a specific device. | |
| actions | No | Up to 3 action buttons; extra entries are dropped with a warning. | |
| message | Yes | Notification body as plain text — write quotes and newlines literally, never JSON-escape them (no \" or \n sequences; the transport handles encoding). Required. Server cap: 1500 bytes UTF-8. | |
| priority | No | Delivery priority; 'default' and above wake the device. Defaults to 'default'. | |
| url_title | No | Display text for `url`. Only rendered when `url` is also set (Android only in v1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| warnings | Yes | ||
| delivered_to | Yes |