eventarc_publish
Publish a custom CloudEvent to an Eventarc channel, defaulting to the Firebase channel, to trigger matching functions and report which received it and how each call ended.
Instructions
Publish a custom CloudEvent to an Eventarc channel (default the project's Firebase channel), as getEventarc().channel().publish() does; every matching function runs, and the report says which received it and how each call ended (after waiting about 3 s at most). To deliver a received event again, use eventarc_replay_event.
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": {
"type": "<type>"
},
"name": "eventarc_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Event data as JSON | |
| text | No | Event data as plain text (instead of data) | |
| type | Yes | CloudEvent type, e.g. com.example.order.shipped | |
| source | No | CloudEvent source; default firenook-mcp | |
| channel | No | Full channel name or google; default projects/<project>/locations/us-central1/channels/firebase | |
| subject | No | CloudEvent subject | |
| attributes | No | Extension attributes (lowercase names, string values) |