Microsoft Graph · Capability

Microsoft Graph Chats — chats.chatMessageInfo

Microsoft Graph Chats — chats.chatMessageInfo. 3 operations. Lead operation: Microsoft Graph Get lastMessagePreview from chats. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphchats.chatMessageInfo

What You Can Do

GET
Chatsgetlastmessagepreview — Microsoft Graph Get lastMessagePreview from chats
/v1/chats/{chat-id}/lastmessagepreview
PATCH
Chatsupdatelastmessagepreview — Microsoft Graph Update the navigation property lastMessagePreview in chats
/v1/chats/{chat-id}/lastmessagepreview
DELETE
Chatsdeletelastmessagepreview — Microsoft Graph Delete navigation property lastMessagePreview for chats
/v1/chats/{chat-id}/lastmessagepreview

MCP Tools

microsoft-graph-get-lastmessagepreview-chats

Microsoft Graph Get lastMessagePreview from chats

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property lastMessagePreview in chats

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property lastMessagePreview for chats

idempotent

Capability Spec

chats-chats-chatmessageinfo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Chats — chats.chatMessageInfo
  description: 'Microsoft Graph Chats — chats.chatMessageInfo. 3 operations. Lead operation: Microsoft Graph Get lastMessagePreview
    from chats. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - chats.chatMessageInfo
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: chats-chats-chatmessageinfo
    baseUri: ''
    description: Microsoft Graph Chats — chats.chatMessageInfo business capability. Self-contained, no shared references.
    resources:
    - name: chats-chat-id-lastMessagePreview
      path: /chats/{chat-id}/lastMessagePreview
      operations:
      - name: chatsgetlastmessagepreview
        method: GET
        description: Microsoft Graph Get lastMessagePreview from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsupdatelastmessagepreview
        method: PATCH
        description: Microsoft Graph Update the navigation property lastMessagePreview in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsdeletelastmessagepreview
        method: DELETE
        description: Microsoft Graph Delete navigation property lastMessagePreview for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: chats-chats-chatmessageinfo-rest
    port: 8080
    description: REST adapter for Microsoft Graph Chats — chats.chatMessageInfo. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/chats/{chat-id}/lastmessagepreview
      name: chats-chat-id-lastmessagepreview
      description: REST surface for chats-chat-id-lastMessagePreview.
      operations:
      - method: GET
        name: chatsgetlastmessagepreview
        description: Microsoft Graph Get lastMessagePreview from chats
        call: chats-chats-chatmessageinfo.chatsgetlastmessagepreview
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: chatsupdatelastmessagepreview
        description: Microsoft Graph Update the navigation property lastMessagePreview in chats
        call: chats-chats-chatmessageinfo.chatsupdatelastmessagepreview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: chatsdeletelastmessagepreview
        description: Microsoft Graph Delete navigation property lastMessagePreview for chats
        call: chats-chats-chatmessageinfo.chatsdeletelastmessagepreview
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: chats-chats-chatmessageinfo-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Chats — chats.chatMessageInfo. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-get-lastmessagepreview-chats
      description: Microsoft Graph Get lastMessagePreview from chats
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: chats-chats-chatmessageinfo.chatsgetlastmessagepreview
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property lastMessagePreview in chats
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: chats-chats-chatmessageinfo.chatsupdatelastmessagepreview
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property lastMessagePreview for chats
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: chats-chats-chatmessageinfo.chatsdeletelastmessagepreview
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.