send_notification
Send push notifications to specific devices or broadcast alerts to all users about price drops, deals, and important shopping updates with custom data like product links.
Instructions
Send a push notification to a specific device or broadcast to all subscribed devices.
This tool can:
Send personalized notifications to specific devices
Broadcast alerts to all users
Include custom data (like product links, images, etc.)
Notify about price drops, deals, or important updates
Note: Requires Firebase Cloud Messaging setup on the Superprecio server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Optional: additional data to include (e.g., product URL, image URL) | |
deviceToken | No | Optional: specific device token to send to. If not provided, broadcasts to all devices. | |
message | Yes | Notification body/message | |
title | Yes | Notification title |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Optional: additional data to include (e.g., product URL, image URL)",
"type": "object"
},
"deviceToken": {
"description": "Optional: specific device token to send to. If not provided, broadcasts to all devices.",
"type": "string"
},
"message": {
"description": "Notification body/message",
"type": "string"
},
"title": {
"description": "Notification title",
"type": "string"
}
},
"required": [
"title",
"message"
],
"type": "object"
}