Send push notification
push_sendSend a Web Push notification to a browser subscription using the PushSubscription JSON. Provide app, subscription, title, and body to deliver the message.
Instructions
Send a Web Push notification to a browser subscription (the JSON from PushSubscription.toJSON(), which the app's frontend should send to its backend).
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": {
"app": "<app>",
"subscription": "<subscription>",
"title": "<title>",
"body": "<body>"
},
"name": "push_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| body | Yes | ||
| title | Yes | ||
| subscription | Yes | PushSubscription JSON (endpoint + keys) |