naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Chats — chats.resourceSpecificPermissionGrant description: 'Microsoft Graph Chats — chats.resourceSpecificPermissionGrant. 6 operations. Lead operation: Microsoft Graph List permissionGrants of a chat. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - chats.resourceSpecificPermissionGrant 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-resourcespecificpermissiongrant baseUri: '' description: Microsoft Graph Chats — chats.resourceSpecificPermissionGrant business capability. Self-contained, no shared references. resources: - name: chats-chat-id-permissionGrants path: /chats/{chat-id}/permissionGrants operations: - name: chatslistpermissiongrants method: GET description: Microsoft Graph List permissionGrants of a 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: chatscreatepermissiongrants method: POST description: Microsoft Graph Create new navigation property to permissionGrants for chats 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-permissionGrants-$count path: /chats/{chat-id}/permissionGrants/$count operations: - name: chatspermissiongrantsgetcount7597 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-permissionGrants-resourceSpecificPermissionGrant-id path: /chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id} operations: - name: chatsgetpermissiongrants method: GET description: Microsoft Graph Get permissionGrants 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: chatsupdatepermissiongrants method: PATCH description: Microsoft Graph Update the navigation property permissionGrants in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsdeletepermissiongrants method: DELETE description: Microsoft Graph Delete navigation property permissionGrants 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-resourcespecificpermissiongrant-rest port: 8080 description: REST adapter for Microsoft Graph Chats — chats.resourceSpecificPermissionGrant. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chats/{chat-id}/permissiongrants name: chats-chat-id-permissiongrants description: REST surface for chats-chat-id-permissionGrants. operations: - method: GET name: chatslistpermissiongrants description: Microsoft Graph List permissionGrants of a chat call: chats-chats-resourcespecificpermissiongrant.chatslistpermissiongrants with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatscreatepermissiongrants description: Microsoft Graph Create new navigation property to permissionGrants for chats call: chats-chats-resourcespecificpermissiongrant.chatscreatepermissiongrants with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/permissiongrants/count name: chats-chat-id-permissiongrants-count description: REST surface for chats-chat-id-permissionGrants-$count. operations: - method: GET name: chatspermissiongrantsgetcount7597 description: Microsoft Graph Get the number of the resource call: chats-chats-resourcespecificpermissiongrant.chatspermissiongrantsgetcount7597 outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/permissiongrants/{resourcespecificpermissiongrant-id} name: chats-chat-id-permissiongrants-resourcespecificpermissiongrant-id description: REST surface for chats-chat-id-permissionGrants-resourceSpecificPermissionGrant-id. operations: - method: GET name: chatsgetpermissiongrants description: Microsoft Graph Get permissionGrants from chats call: chats-chats-resourcespecificpermissiongrant.chatsgetpermissiongrants with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsupdatepermissiongrants description: Microsoft Graph Update the navigation property permissionGrants in chats call: chats-chats-resourcespecificpermissiongrant.chatsupdatepermissiongrants with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsdeletepermissiongrants description: Microsoft Graph Delete navigation property permissionGrants for chats call: chats-chats-resourcespecificpermissiongrant.chatsdeletepermissiongrants with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: chats-chats-resourcespecificpermissiongrant-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Chats — chats.resourceSpecificPermissionGrant. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-permissiongrants-chat description: Microsoft Graph List permissionGrants of a chat hints: readOnly: true destructive: false idempotent: true call: chats-chats-resourcespecificpermissiongrant.chatslistpermissiongrants with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to permissionGrants for chats hints: readOnly: false destructive: false idempotent: false call: chats-chats-resourcespecificpermissiongrant.chatscreatepermissiongrants 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-resourcespecificpermissiongrant.chatspermissiongrantsgetcount7597 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-permissiongrants-chats description: Microsoft Graph Get permissionGrants from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-resourcespecificpermissiongrant.chatsgetpermissiongrants with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property permissionGrants in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-resourcespecificpermissiongrant.chatsupdatepermissiongrants with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property permissionGrants for chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-resourcespecificpermissiongrant.chatsdeletepermissiongrants with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.