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