functions_invoke
Invoke a loaded Firebase function with HTTPS/callable data or a background event payload to test how it runs in the emulator.
Instructions
Invoke a loaded function: an HTTPS/callable request with data, or with eventData a background event (Firestore before/after, Storage object, Pub/Sub message, Auth user, schedule, Eventarc custom event, task queue payload) shaped as the official functions shell sends it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | {"uid","token"} or {"admin":true} for first-generation events | |
| data | No | Callable payload (sent as {"data": ...}) | |
| name | Yes | Function name | |
| method | No | HTTP method for plain HTTPS functions; default POST | |
| params | No | Wildcard values for the trigger pattern | |
| region | No | Region when the name is deployed in several | |
| resource | No | Firestore document path or the legacy resource name | |
| eventData | No | Background event payload; its shape depends on the trigger | |
| eventType | No | Override the CloudEvent type for Eventarc custom events |