get_event_handlers
Retrieve or filter event handlers that define how Conductor responds to external events, with options to specify event names and active status.
Instructions
Get all event handlers or filter by event and active status. Event handlers define how Conductor responds to external events.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | Filter by event name | |
| activeOnly | No | Return only active event handlers (default: true) |
Implementation Reference
- src/index.ts:1153-1170 (handler)Handler implementation for get_event_handlers: extracts event and activeOnly parameters, calls Conductor API endpoint /event, and returns the JSON response as text content.case "get_event_handlers": { const params: any = {}; if ((args as any).event) params.event = (args as any).event; if ((args as any).activeOnly !== undefined) params.activeOnly = (args as any).activeOnly; else params.activeOnly = true; const response = await conductorClient.get("/event", { params }); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
- src/index.ts:562-580 (registration)Tool registration in the tools array, including name, description, and input schema for get_event_handlers.{ name: "get_event_handlers", description: "Get all event handlers or filter by event and active status. Event handlers define how Conductor responds to external events.", inputSchema: { type: "object", properties: { event: { type: "string", description: "Filter by event name", }, activeOnly: { type: "boolean", description: "Return only active event handlers (default: true)", }, }, }, }, ];
- src/index.ts:566-580 (schema)Input schema definition for the get_event_handlers tool.inputSchema: { type: "object", properties: { event: { type: "string", description: "Filter by event name", }, activeOnly: { type: "boolean", description: "Return only active event handlers (default: true)", }, }, }, }, ];