naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — chats.chat.Functions description: 'Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-chats-chat-functions baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-chats-chat-functions-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-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: microsoft-graph-chats-chat-functions.chatsgetallretainedmessages with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-chats-chat-functions-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-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: microsoft-graph-chats-chat-functions.chatsgetallretainedmessages with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $.