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