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