Microsoft Azure · Capability

Microsoft Azure Azure Communication Chat Service — Messages

Microsoft Azure Azure Communication Chat Service — Messages. 5 operations. Lead operation: Microsoft Azure Sends A Message To A Thread. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureMessages

What You Can Do

POST
Microsoftazurechatthreadsendchatmessage — Microsoft Azure Sends A Message To A Thread
/v1/chat/threads/{chatthreadid}/messages
GET
Microsoftazurechatthreadlistchatmessages — Microsoft Azure Gets A List Of Messages From A Thread
/v1/chat/threads/{chatthreadid}/messages
GET
Microsoftazurechatthreadgetchatmessage — Microsoft Azure Gets A Message By Id
/v1/chat/threads/{chatthreadid}/messages/{chatmessageid}
PATCH
Microsoftazurechatthreadupdatechatmessage — Microsoft Azure Updates A Message
/v1/chat/threads/{chatthreadid}/messages/{chatmessageid}
DELETE
Microsoftazurechatthreaddeletechatmessage — Microsoft Azure Deletes A Message
/v1/chat/threads/{chatthreadid}/messages/{chatmessageid}

MCP Tools

microsoft-azure-sends-message-thread

Microsoft Azure Sends A Message To A Thread

microsoft-azure-gets-list-messages

Microsoft Azure Gets A List Of Messages From A Thread

read-only idempotent
microsoft-azure-gets-message-id

Microsoft Azure Gets A Message By Id

read-only idempotent
microsoft-azure-updates-message

Microsoft Azure Updates A Message

idempotent
microsoft-azure-deletes-message

Microsoft Azure Deletes A Message

idempotent

Capability Spec

azure-communication-chat-service-messages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Communication Chat Service — Messages
  description: 'Microsoft Azure Azure Communication Chat Service — Messages. 5 operations. Lead operation: Microsoft Azure
    Sends A Message To A Thread. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Messages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-communication-chat-service-messages
    baseUri: ''
    description: Microsoft Azure Azure Communication Chat Service — Messages business capability. Self-contained, no shared
      references.
    resources:
    - name: chat-threads-chatThreadId-messages
      path: /chat/threads/{chatThreadId}/messages
      operations:
      - name: microsoftazurechatthreadsendchatmessage
        method: POST
        description: Microsoft Azure Sends A Message To A Thread
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chatThreadId
          in: path
          type: string
          description: The thread id to send the message to.
          required: true
        - name: sendChatMessageRequest
          in: body
          type: string
          description: Details of the message to send.
          required: true
      - name: microsoftazurechatthreadlistchatmessages
        method: GET
        description: Microsoft Azure Gets A List Of Messages From A Thread
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chatThreadId
          in: path
          type: string
          description: The thread id of the message.
          required: true
        - name: maxPageSize
          in: query
          type: integer
          description: The maximum number of messages to be returned per page.
        - name: startTime
          in: query
          type: string
          description: 'The earliest point in time to get messages after. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
    - name: chat-threads-chatThreadId-messages-chatMessageId
      path: /chat/threads/{chatThreadId}/messages/{chatMessageId}
      operations:
      - name: microsoftazurechatthreadgetchatmessage
        method: GET
        description: Microsoft Azure Gets A Message By Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chatThreadId
          in: path
          type: string
          description: The thread id to which the message was sent.
          required: true
        - name: chatMessageId
          in: path
          type: string
          description: The message id.
          required: true
      - name: microsoftazurechatthreadupdatechatmessage
        method: PATCH
        description: Microsoft Azure Updates A Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chatThreadId
          in: path
          type: string
          description: The thread id to which the message was sent.
          required: true
        - name: chatMessageId
          in: path
          type: string
          description: The message id.
          required: true
        - name: updateChatMessageRequest
          in: body
          type: string
          description: Details of the request to update the message.
          required: true
      - name: microsoftazurechatthreaddeletechatmessage
        method: DELETE
        description: Microsoft Azure Deletes A Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chatThreadId
          in: path
          type: string
          description: The thread id to which the message was sent.
          required: true
        - name: chatMessageId
          in: path
          type: string
          description: The message id.
          required: true
  exposes:
  - type: rest
    namespace: azure-communication-chat-service-messages-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Communication Chat Service — Messages. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/chat/threads/{chatthreadid}/messages
      name: chat-threads-chatthreadid-messages
      description: REST surface for chat-threads-chatThreadId-messages.
      operations:
      - method: POST
        name: microsoftazurechatthreadsendchatmessage
        description: Microsoft Azure Sends A Message To A Thread
        call: azure-communication-chat-service-messages.microsoftazurechatthreadsendchatmessage
        with:
          chatThreadId: rest.chatThreadId
          sendChatMessageRequest: rest.sendChatMessageRequest
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurechatthreadlistchatmessages
        description: Microsoft Azure Gets A List Of Messages From A Thread
        call: azure-communication-chat-service-messages.microsoftazurechatthreadlistchatmessages
        with:
          chatThreadId: rest.chatThreadId
          maxPageSize: rest.maxPageSize
          startTime: rest.startTime
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chat/threads/{chatthreadid}/messages/{chatmessageid}
      name: chat-threads-chatthreadid-messages-chatmessageid
      description: REST surface for chat-threads-chatThreadId-messages-chatMessageId.
      operations:
      - method: GET
        name: microsoftazurechatthreadgetchatmessage
        description: Microsoft Azure Gets A Message By Id
        call: azure-communication-chat-service-messages.microsoftazurechatthreadgetchatmessage
        with:
          chatThreadId: rest.chatThreadId
          chatMessageId: rest.chatMessageId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazurechatthreadupdatechatmessage
        description: Microsoft Azure Updates A Message
        call: azure-communication-chat-service-messages.microsoftazurechatthreadupdatechatmessage
        with:
          chatThreadId: rest.chatThreadId
          chatMessageId: rest.chatMessageId
          updateChatMessageRequest: rest.updateChatMessageRequest
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurechatthreaddeletechatmessage
        description: Microsoft Azure Deletes A Message
        call: azure-communication-chat-service-messages.microsoftazurechatthreaddeletechatmessage
        with:
          chatThreadId: rest.chatThreadId
          chatMessageId: rest.chatMessageId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-communication-chat-service-messages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Communication Chat Service — Messages. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-sends-message-thread
      description: Microsoft Azure Sends A Message To A Thread
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-communication-chat-service-messages.microsoftazurechatthreadsendchatmessage
      with:
        chatThreadId: tools.chatThreadId
        sendChatMessageRequest: tools.sendChatMessageRequest
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-list-messages
      description: Microsoft Azure Gets A List Of Messages From A Thread
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-communication-chat-service-messages.microsoftazurechatthreadlistchatmessages
      with:
        chatThreadId: tools.chatThreadId
        maxPageSize: tools.maxPageSize
        startTime: tools.startTime
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-message-id
      description: Microsoft Azure Gets A Message By Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-communication-chat-service-messages.microsoftazurechatthreadgetchatmessage
      with:
        chatThreadId: tools.chatThreadId
        chatMessageId: tools.chatMessageId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-updates-message
      description: Microsoft Azure Updates A Message
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-communication-chat-service-messages.microsoftazurechatthreadupdatechatmessage
      with:
        chatThreadId: tools.chatThreadId
        chatMessageId: tools.chatMessageId
        updateChatMessageRequest: tools.updateChatMessageRequest
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-deletes-message
      description: Microsoft Azure Deletes A Message
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-communication-chat-service-messages.microsoftazurechatthreaddeletechatmessage
      with:
        chatThreadId: tools.chatThreadId
        chatMessageId: tools.chatMessageId
      outputParameters:
      - type: object
        mapping: $.