Microsoft Graph · Capability

Microsoft Graph Chats — chats.chat.Functions

Microsoft Graph Chats — chats.chat.Functions. 2 operations. Lead operation: Microsoft Graph Invoke function getAllMessages. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphchats.chat.Functions

What You Can Do

GET
Chatsgetallmessages — Microsoft Graph Invoke function getAllMessages
/v1/chats/getallmessages
GET
Chatsgetallretainedmessages — Microsoft Graph Invoke function getAllRetainedMessages
/v1/chats/getallretainedmessages

MCP Tools

microsoft-graph-invoke-function-getallmessages

Microsoft Graph Invoke function getAllMessages

read-only idempotent
microsoft-graph-invoke-function-getallretainedmessages

Microsoft Graph Invoke function getAllRetainedMessages

read-only idempotent

Capability Spec

chats-chats-chat-functions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Chats — chats.chat.Functions
  description: 'Microsoft Graph Chats — chats.chat.Functions. 2 operations. Lead operation: Microsoft Graph Invoke function
    getAllMessages. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - chats.chat.Functions
  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-chat-functions
    baseUri: ''
    description: Microsoft Graph Chats — chats.chat.Functions business capability. Self-contained, no shared references.
    resources:
    - name: chats-getAllMessages()
      path: /chats/getAllMessages()
      operations:
      - name: chatsgetallmessages
        method: GET
        description: Microsoft Graph Invoke function getAllMessages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: model
          in: query
          type: string
          description: The payment model for the API
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: chats-getAllRetainedMessages()
      path: /chats/getAllRetainedMessages()
      operations:
      - name: chatsgetallretainedmessages
        method: GET
        description: Microsoft Graph Invoke function getAllRetainedMessages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
  exposes:
  - type: rest
    namespace: chats-chats-chat-functions-rest
    port: 8080
    description: REST adapter for Microsoft Graph Chats — chats.chat.Functions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/chats/getallmessages
      name: chats-getallmessages
      description: REST surface for chats-getAllMessages().
      operations:
      - method: GET
        name: chatsgetallmessages
        description: Microsoft Graph Invoke function getAllMessages
        call: chats-chats-chat-functions.chatsgetallmessages
        with:
          model: rest.model
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/getallretainedmessages
      name: chats-getallretainedmessages
      description: REST surface for chats-getAllRetainedMessages().
      operations:
      - method: GET
        name: chatsgetallretainedmessages
        description: Microsoft Graph Invoke function getAllRetainedMessages
        call: chats-chats-chat-functions.chatsgetallretainedmessages
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: chats-chats-chat-functions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Chats — chats.chat.Functions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-invoke-function-getallmessages
      description: Microsoft Graph Invoke function getAllMessages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: chats-chats-chat-functions.chatsgetallmessages
      with:
        model: tools.model
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getallretainedmessages
      description: Microsoft Graph Invoke function getAllRetainedMessages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: chats-chats-chat-functions.chatsgetallretainedmessages
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.