Generate Web Push keys
push_generate_keysObtain VAPID keys for Web Push, returning only the public key for subscribe() while the private key stays local. Enables secure push notification setup.
Instructions
Generate (or return existing) VAPID keys for Web Push. Returns the public key to use with pushManager.subscribe() in the app's frontend; the private key never leaves this machine.
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>"
},
"name": "push_generate_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes |