naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Oauth2permissiongrants — me.oAuth2PermissionGrant description: 'Microsoft Graph Oauth2permissiongrants — me.oAuth2PermissionGrant. 3 operations. Lead operation: Microsoft Graph Get oauth2PermissionGrants from me. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - me.oAuth2PermissionGrant 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: oauth2permissiongrants-me-oauth2permissiongrant baseUri: '' description: Microsoft Graph Oauth2permissiongrants — me.oAuth2PermissionGrant business capability. Self-contained, no shared references. resources: - name: me-oauth2PermissionGrants path: /me/oauth2PermissionGrants operations: - name: melistoauth2permissiongrants method: GET description: Microsoft Graph Get oauth2PermissionGrants 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: me-oauth2PermissionGrants-$count path: /me/oauth2PermissionGrants/$count operations: - name: meoauth2permissiongrantsgetcount2e61 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-oauth2PermissionGrants-oAuth2PermissionGrant-id path: /me/oauth2PermissionGrants/{oAuth2PermissionGrant-id} operations: - name: megetoauth2permissiongrants method: GET description: Microsoft Graph Get oauth2PermissionGrants 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 exposes: - type: rest namespace: oauth2permissiongrants-me-oauth2permissiongrant-rest port: 8080 description: REST adapter for Microsoft Graph Oauth2permissiongrants — me.oAuth2PermissionGrant. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/oauth2permissiongrants name: me-oauth2permissiongrants description: REST surface for me-oauth2PermissionGrants. operations: - method: GET name: melistoauth2permissiongrants description: Microsoft Graph Get oauth2PermissionGrants from me call: oauth2permissiongrants-me-oauth2permissiongrant.melistoauth2permissiongrants with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/me/oauth2permissiongrants/count name: me-oauth2permissiongrants-count description: REST surface for me-oauth2PermissionGrants-$count. operations: - method: GET name: meoauth2permissiongrantsgetcount2e61 description: Microsoft Graph Get the number of the resource call: oauth2permissiongrants-me-oauth2permissiongrant.meoauth2permissiongrantsgetcount2e61 outputParameters: - type: object mapping: $. - path: /v1/me/oauth2permissiongrants/{oauth2permissiongrant-id} name: me-oauth2permissiongrants-oauth2permissiongrant-id description: REST surface for me-oauth2PermissionGrants-oAuth2PermissionGrant-id. operations: - method: GET name: megetoauth2permissiongrants description: Microsoft Graph Get oauth2PermissionGrants from me call: oauth2permissiongrants-me-oauth2permissiongrant.megetoauth2permissiongrants with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: oauth2permissiongrants-me-oauth2permissiongrant-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Oauth2permissiongrants — me.oAuth2PermissionGrant. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-oauth2permissiongrants-me description: Microsoft Graph Get oauth2PermissionGrants from me hints: readOnly: true destructive: false idempotent: true call: oauth2permissiongrants-me-oauth2permissiongrant.melistoauth2permissiongrants with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand 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: oauth2permissiongrants-me-oauth2permissiongrant.meoauth2permissiongrantsgetcount2e61 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-oauth2permissiongrants-me-2 description: Microsoft Graph Get oauth2PermissionGrants from me hints: readOnly: true destructive: false idempotent: true call: oauth2permissiongrants-me-oauth2permissiongrant.megetoauth2permissiongrants with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.