push_notification
Send a push notification to a simulator app using a custom APNs payload JSON, enabling real-time testing of notification handling without a physical device.
Instructions
Send a push notification to an app on a simulator via APNs payload JSON
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": {
"deviceId": "<deviceId>",
"bundleId": "<bundleId>",
"payload": "<payload>"
},
"name": "push_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | APNs payload as JSON string (e.g., '{"aps":{"alert":"Hello","badge":1}}') | |
| bundleId | Yes | App bundle identifier | |
| deviceId | Yes | Simulator UDID |