configure_mobile_credentials
Store Firebase Cloud Messaging and Apple Push Notification credentials on a specific app_id to enable native Android and iOS push delivery.
Instructions
Store native mobile push credentials—Firebase Cloud Messaging (FCM HTTP v1 service-account.json) for Android APK and Apple Push Notification service (.p8 AuthKey, Key ID, Team ID, Bundle ID) for iOS—on a specific app_id. Use this tool when enabling native Android or iOS push delivery; do not use it for standard browser Web Push (which uses auto-generated VAPID keys from create_app). Prerequisite: call list_apps first to obtain app_id. Requires PUSHNOTIF_API_KEY, costs 0 credits, and idempotently updates encrypted mobile credentials. Returns JSON { ok, app_id, android_fcm_configured, ios_apns_configured }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Target application ID in format app_xxxx (obtain from list_apps) | |
| apns_key_id | No | 10-character Apple Developer APNs Key ID (e.g., 'ABC123DEFG') | |
| apns_p8_key | No | Full PEM text content of Apple's AuthKey_XXXX.p8 private key file | |
| apns_team_id | No | 10-character Apple Developer Team ID | |
| apns_bundle_id | No | iOS application Bundle Identifier (e.g., 'id.company.app') | |
| fcm_service_account_json | No | Raw JSON string of the Google Firebase Service Account key file for Android FCM HTTP v1 |