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