send_push
Send push notifications to iOS and Android app users, targeting everyone, channels, or a query, immediately or scheduled. Verify audience before sending.
Instructions
Send a push notification to the app's iOS and Android devices: to everyone, to channels or to the installations matching a query, now or at a set time. It reaches real users: check the audience before sending.
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": {
"appObjectId": "<appObjectId>",
"alert": "<alert>"
},
"name": "send_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON string of additional custom data to include | |
| alert | Yes | The notification message text | |
| badge | No | Badge number or "Increment" to increase by 1 | |
| sound | No | Sound file name to play | |
| title | No | Notification title (Android) | |
| where | No | JSON string of query constraints for targeting specific installations | |
| channels | No | Comma-separated list of channels to send to (e.g., "news,sports") | |
| pushTime | No | ISO 8601 date/time to schedule the push (e.g., "2024-12-25T10:00:00Z") | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) | |
| expirationTime | No | ISO 8601 date/time when the message expires | |
| expirationInterval | No | Number of seconds from now until the message expires |