generate_event_handler
Event-driven communication handlers for microservices. Creates broker-connected event consumers. Use when: integrating with Kafka/RabbitMQ/Redis. Related: generate_event_bus (api-mcp, for in-process pub/sub)
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": {
"eventName": "<eventName>",
"broker": "<broker>"
},
"name": "generate_event_handler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| broker | Yes | ||
| eventName | Yes |