naftiko: 1.0.0-alpha2 info: label: Azure Event Hubs Data Plane REST API — Events description: 'Azure Event Hubs Data Plane REST API — Events. 4 operations. Lead operation: Azure Event Hubs Send event. Self-contained Naftiko capability covering one Microsoft Azure Event Hubs business surface.' tags: - Microsoft Azure Event Hubs - Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_EVENT_HUBS_API_KEY: MICROSOFT_AZURE_EVENT_HUBS_API_KEY capability: consumes: - type: http namespace: azure-event-hubs-data-plane-events baseUri: https://{namespaceName}.servicebus.windows.net description: Azure Event Hubs Data Plane REST API — Events business capability. Self-contained, no shared references. resources: - name: eventHubPath-messages path: /{eventHubPath}/messages operations: - name: sendevent method: POST description: Azure Event Hubs Send event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. - name: body in: body type: object description: Request body (JSON). required: true - name: eventHubPath-messages?batch=true path: /{eventHubPath}/messages?batch=true operations: - name: sendbatchevents method: POST description: Azure Event Hubs Send batch events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. - name: body in: body type: object description: Request body (JSON). required: true - name: eventHubPath-partitions-partitionId-messages path: /{eventHubPath}/partitions/{partitionId}/messages operations: - name: sendpartitionevent method: POST description: Azure Event Hubs Send partition event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. - name: body in: body type: object description: Request body (JSON). required: true - name: eventHubPath-publishers-publisherId-messages path: /{eventHubPath}/publishers/{publisherId}/messages operations: - name: sendeventwithpublisherid method: POST description: Azure Event Hubs Send event with publisher ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: x-ms-retrypolicy in: header type: string description: Set to NoRetry to disable automatic retry on send operations when transient errors occur. - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MICROSOFT_AZURE_EVENT_HUBS_API_KEY}}' exposes: - type: rest namespace: azure-event-hubs-data-plane-events-rest port: 8080 description: REST adapter for Azure Event Hubs Data Plane REST API — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{eventhubpath}/messages name: eventhubpath-messages description: REST surface for eventHubPath-messages. operations: - method: POST name: sendevent description: Azure Event Hubs Send event call: azure-event-hubs-data-plane-events.sendevent with: x-ms-retrypolicy: rest.x-ms-retrypolicy body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{eventhubpath}/messages-batch-true name: eventhubpath-messages-batch-true description: REST surface for eventHubPath-messages?batch=true. operations: - method: POST name: sendbatchevents description: Azure Event Hubs Send batch events call: azure-event-hubs-data-plane-events.sendbatchevents with: x-ms-retrypolicy: rest.x-ms-retrypolicy body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{eventhubpath}/partitions/{partitionid}/messages name: eventhubpath-partitions-partitionid-messages description: REST surface for eventHubPath-partitions-partitionId-messages. operations: - method: POST name: sendpartitionevent description: Azure Event Hubs Send partition event call: azure-event-hubs-data-plane-events.sendpartitionevent with: x-ms-retrypolicy: rest.x-ms-retrypolicy body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{eventhubpath}/publishers/{publisherid}/messages name: eventhubpath-publishers-publisherid-messages description: REST surface for eventHubPath-publishers-publisherId-messages. operations: - method: POST name: sendeventwithpublisherid description: Azure Event Hubs Send event with publisher ID call: azure-event-hubs-data-plane-events.sendeventwithpublisherid with: x-ms-retrypolicy: rest.x-ms-retrypolicy body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-event-hubs-data-plane-events-mcp port: 9090 transport: http description: MCP adapter for Azure Event Hubs Data Plane REST API — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-event-hubs-send-event description: Azure Event Hubs Send event hints: readOnly: false destructive: false idempotent: false call: azure-event-hubs-data-plane-events.sendevent with: x-ms-retrypolicy: tools.x-ms-retrypolicy body: tools.body outputParameters: - type: object mapping: $. - name: azure-event-hubs-send-batch description: Azure Event Hubs Send batch events hints: readOnly: false destructive: false idempotent: false call: azure-event-hubs-data-plane-events.sendbatchevents with: x-ms-retrypolicy: tools.x-ms-retrypolicy body: tools.body outputParameters: - type: object mapping: $. - name: azure-event-hubs-send-partition description: Azure Event Hubs Send partition event hints: readOnly: false destructive: false idempotent: false call: azure-event-hubs-data-plane-events.sendpartitionevent with: x-ms-retrypolicy: tools.x-ms-retrypolicy body: tools.body outputParameters: - type: object mapping: $. - name: azure-event-hubs-send-event-2 description: Azure Event Hubs Send event with publisher ID hints: readOnly: false destructive: false idempotent: false call: azure-event-hubs-data-plane-events.sendeventwithpublisherid with: x-ms-retrypolicy: tools.x-ms-retrypolicy body: tools.body outputParameters: - type: object mapping: $.