preview_push
Step 1 of sending a push notification: validate a draft and show who it will reach. Read-only, nothing is sent. Draft only what the owner asked for. Fields: title (max 65), message (max 240), optional imageUrl (https), pageId (page to open; send-now only), deviceTypes [ios, android, web], topicIds (send-now only; call with no title to list topics), locationFilters {countries, cities, regions}, sendAt local "YYYY-MM-DDTHH:MM" to schedule (omit to send now), timezone (IANA; defaults to the app's), repeat none/daily/weekly/monthly, repeatUntil YYYY-MM-DD. Show the owner the returned preview and get a clear yes before send_push.
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": {
"appId": "<appId>"
},
"name": "preview_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | ||
| title | No | ||
| pageId | No | ||
| repeat | No | ||
| sendAt | No | ||
| message | No | ||
| imageUrl | No | ||
| timezone | No | ||
| topicIds | No | ||
| deviceTypes | No | ||
| repeatUntil | No | ||
| locationFilters | No |