naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Chats — chats.teamsAppInstallation description: 'Microsoft Graph Chats — chats.teamsAppInstallation. 9 operations. Lead operation: Microsoft Graph List apps in chat. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - chats.teamsAppInstallation 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-teamsappinstallation baseUri: '' description: Microsoft Graph Chats — chats.teamsAppInstallation business capability. Self-contained, no shared references. resources: - name: chats-chat-id-installedApps path: /chats/{chat-id}/installedApps operations: - name: chatslistinstalledapps method: GET description: Microsoft Graph List apps in chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatscreateinstalledapps method: POST description: Microsoft Graph Add app to chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-installedApps-$count path: /chats/{chat-id}/installedApps/$count operations: - name: chatsinstalledappsgetcount3987 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-installedApps-teamsAppInstallation-id path: /chats/{chat-id}/installedApps/{teamsAppInstallation-id} operations: - name: chatsgetinstalledapps method: GET description: Microsoft Graph Get installed app in chat 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: chatsupdateinstalledapps method: PATCH description: Microsoft Graph Update the navigation property installedApps in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsdeleteinstalledapps method: DELETE description: Microsoft Graph Uninstall app in a chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-installedApps-teamsAppInstallation-id-teamsApp path: /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp operations: - name: chatsinstalledappsgetteamsapp method: GET description: Microsoft Graph Get teamsApp 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: chats-chat-id-installedApps-teamsAppInstallation-id-teamsAppDefinition path: /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition operations: - name: chatsinstalledappsgetteamsappdefinition method: GET description: Microsoft Graph Get teamsAppDefinition 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: chats-chat-id-installedApps-teamsAppInstallation-id-upgrade path: /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/upgrade operations: - name: chatschatinstalledappsteamsappinstallationupgrade method: POST description: Microsoft Graph Invoke action upgrade outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: chats-chats-teamsappinstallation-rest port: 8080 description: REST adapter for Microsoft Graph Chats — chats.teamsAppInstallation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chats/{chat-id}/installedapps name: chats-chat-id-installedapps description: REST surface for chats-chat-id-installedApps. operations: - method: GET name: chatslistinstalledapps description: Microsoft Graph List apps in chat call: chats-chats-teamsappinstallation.chatslistinstalledapps with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatscreateinstalledapps description: Microsoft Graph Add app to chat call: chats-chats-teamsappinstallation.chatscreateinstalledapps with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/installedapps/count name: chats-chat-id-installedapps-count description: REST surface for chats-chat-id-installedApps-$count. operations: - method: GET name: chatsinstalledappsgetcount3987 description: Microsoft Graph Get the number of the resource call: chats-chats-teamsappinstallation.chatsinstalledappsgetcount3987 outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/installedapps/{teamsappinstallation-id} name: chats-chat-id-installedapps-teamsappinstallation-id description: REST surface for chats-chat-id-installedApps-teamsAppInstallation-id. operations: - method: GET name: chatsgetinstalledapps description: Microsoft Graph Get installed app in chat call: chats-chats-teamsappinstallation.chatsgetinstalledapps with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsupdateinstalledapps description: Microsoft Graph Update the navigation property installedApps in chats call: chats-chats-teamsappinstallation.chatsupdateinstalledapps with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsdeleteinstalledapps description: Microsoft Graph Uninstall app in a chat call: chats-chats-teamsappinstallation.chatsdeleteinstalledapps with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/installedapps/{teamsappinstallation-id}/teamsapp name: chats-chat-id-installedapps-teamsappinstallation-id-teamsapp description: REST surface for chats-chat-id-installedApps-teamsAppInstallation-id-teamsApp. operations: - method: GET name: chatsinstalledappsgetteamsapp description: Microsoft Graph Get teamsApp from chats call: chats-chats-teamsappinstallation.chatsinstalledappsgetteamsapp with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/installedapps/{teamsappinstallation-id}/teamsappdefinition name: chats-chat-id-installedapps-teamsappinstallation-id-teamsappdefinition description: REST surface for chats-chat-id-installedApps-teamsAppInstallation-id-teamsAppDefinition. operations: - method: GET name: chatsinstalledappsgetteamsappdefinition description: Microsoft Graph Get teamsAppDefinition from chats call: chats-chats-teamsappinstallation.chatsinstalledappsgetteamsappdefinition with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/installedapps/{teamsappinstallation-id}/upgrade name: chats-chat-id-installedapps-teamsappinstallation-id-upgrade description: REST surface for chats-chat-id-installedApps-teamsAppInstallation-id-upgrade. operations: - method: POST name: chatschatinstalledappsteamsappinstallationupgrade description: Microsoft Graph Invoke action upgrade call: chats-chats-teamsappinstallation.chatschatinstalledappsteamsappinstallationupgrade with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: chats-chats-teamsappinstallation-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Chats — chats.teamsAppInstallation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-apps-chat description: Microsoft Graph List apps in chat hints: readOnly: true destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatslistinstalledapps with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-add-app-chat description: Microsoft Graph Add app to chat hints: readOnly: false destructive: false idempotent: false call: chats-chats-teamsappinstallation.chatscreateinstalledapps with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatsinstalledappsgetcount3987 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-installed-app description: Microsoft Graph Get installed app in chat hints: readOnly: true destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatsgetinstalledapps with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property installedApps in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatsupdateinstalledapps with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-uninstall-app-chat description: Microsoft Graph Uninstall app in a chat hints: readOnly: false destructive: true idempotent: true call: chats-chats-teamsappinstallation.chatsdeleteinstalledapps with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-teamsapp-chats description: Microsoft Graph Get teamsApp from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatsinstalledappsgetteamsapp with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-teamsappdefinition-chats description: Microsoft Graph Get teamsAppDefinition from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-teamsappinstallation.chatsinstalledappsgetteamsappdefinition with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-upgrade description: Microsoft Graph Invoke action upgrade hints: readOnly: false destructive: false idempotent: false call: chats-chats-teamsappinstallation.chatschatinstalledappsteamsappinstallationupgrade with: body: tools.body outputParameters: - type: object mapping: $.