Microsoft Azure · Capability

Microsoft Azure Azure Communication Chat Service — Images

Microsoft Azure Azure Communication Chat Service — Images. 3 operations. Lead operation: Microsoft Azure Upload An Image In A Thread, On Behalf Of A User. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureImages

What You Can Do

POST
Microsoftazurechatthreaduploadchatimage — Microsoft Azure Upload An Image In A Thread, On Behalf Of A User
/v1/chat/threads/{chatthreadid}/images
DELETE
Microsoftazurechatthreaddeletechatimage — Microsoft Azure Deletes A Image
/v1/chat/threads/{chatthreadid}/images/{imageid}
GET
Microsoftazurechatthreadgetchatimage — Microsoft Azure Get An Image By View Type
/v1/chat/threads/{chatthreadid}/images/{imageid}/view/{imageviewtype}

MCP Tools

microsoft-azure-upload-image-thread

Microsoft Azure Upload An Image In A Thread, On Behalf Of A User

microsoft-azure-deletes-image

Microsoft Azure Deletes A Image

idempotent
microsoft-azure-get-image-view

Microsoft Azure Get An Image By View Type

read-only idempotent

Capability Spec

azure-communication-chat-service-images.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Communication Chat Service — Images
  description: 'Microsoft Azure Azure Communication Chat Service — Images. 3 operations. Lead operation: Microsoft Azure Upload
    An Image In A Thread, On Behalf Of A User. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Images
  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-images
    baseUri: ''
    description: Microsoft Azure Azure Communication Chat Service — Images business capability. Self-contained, no shared
      references.
    resources:
    - name: chat-threads-chatThreadId-images
      path: /chat/threads/{chatThreadId}/images
      operations:
      - name: microsoftazurechatthreaduploadchatimage
        method: POST
        description: Microsoft Azure Upload An Image In A Thread, On Behalf Of A User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: image-filename
          in: header
          type: string
          description: The file name of the image.
        - name: chatThreadId
          in: path
          type: string
          description: Thread id where the uploaded image belongs to. (Teams meeting only)
          required: true
        - name: chatImageFile
          in: body
          type: string
          description: 'Image binary data, allowed image formats: jpeg, png, gif, heic, webp'
          required: true
    - name: chat-threads-chatThreadId-images-imageId
      path: /chat/threads/{chatThreadId}/images/{imageId}
      operations:
      - name: microsoftazurechatthreaddeletechatimage
        method: DELETE
        description: Microsoft Azure Deletes A Image
        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: imageId
          in: path
          type: string
          description: The image id.
          required: true
    - name: chat-threads-chatThreadId-images-imageId-view-imageViewType
      path: /chat/threads/{chatThreadId}/images/{imageId}/view/{imageViewType}
      operations:
      - name: microsoftazurechatthreadgetchatimage
        method: GET
        description: Microsoft Azure Get An Image By View Type
        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: imageId
          in: path
          type: string
          description: The image id.
          required: true
        - name: imageViewType
          in: path
          type: string
          description: The view type of image.
          required: true
  exposes:
  - type: rest
    namespace: azure-communication-chat-service-images-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Communication Chat Service — Images. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/chat/threads/{chatthreadid}/images
      name: chat-threads-chatthreadid-images
      description: REST surface for chat-threads-chatThreadId-images.
      operations:
      - method: POST
        name: microsoftazurechatthreaduploadchatimage
        description: Microsoft Azure Upload An Image In A Thread, On Behalf Of A User
        call: azure-communication-chat-service-images.microsoftazurechatthreaduploadchatimage
        with:
          image-filename: rest.image-filename
          chatThreadId: rest.chatThreadId
          chatImageFile: rest.chatImageFile
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chat/threads/{chatthreadid}/images/{imageid}
      name: chat-threads-chatthreadid-images-imageid
      description: REST surface for chat-threads-chatThreadId-images-imageId.
      operations:
      - method: DELETE
        name: microsoftazurechatthreaddeletechatimage
        description: Microsoft Azure Deletes A Image
        call: azure-communication-chat-service-images.microsoftazurechatthreaddeletechatimage
        with:
          chatThreadId: rest.chatThreadId
          imageId: rest.imageId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chat/threads/{chatthreadid}/images/{imageid}/view/{imageviewtype}
      name: chat-threads-chatthreadid-images-imageid-view-imageviewtype
      description: REST surface for chat-threads-chatThreadId-images-imageId-view-imageViewType.
      operations:
      - method: GET
        name: microsoftazurechatthreadgetchatimage
        description: Microsoft Azure Get An Image By View Type
        call: azure-communication-chat-service-images.microsoftazurechatthreadgetchatimage
        with:
          chatThreadId: rest.chatThreadId
          imageId: rest.imageId
          imageViewType: rest.imageViewType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-communication-chat-service-images-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Communication Chat Service — Images. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-upload-image-thread
      description: Microsoft Azure Upload An Image In A Thread, On Behalf Of A User
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-communication-chat-service-images.microsoftazurechatthreaduploadchatimage
      with:
        image-filename: tools.image-filename
        chatThreadId: tools.chatThreadId
        chatImageFile: tools.chatImageFile
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-deletes-image
      description: Microsoft Azure Deletes A Image
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-communication-chat-service-images.microsoftazurechatthreaddeletechatimage
      with:
        chatThreadId: tools.chatThreadId
        imageId: tools.imageId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-image-view
      description: Microsoft Azure Get An Image By View Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-communication-chat-service-images.microsoftazurechatthreadgetchatimage
      with:
        chatThreadId: tools.chatThreadId
        imageId: tools.imageId
        imageViewType: tools.imageViewType
      outputParameters:
      - type: object
        mapping: $.