naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Drives — Groups.site description: 'Microsoft Graph Drives — Groups.site. 4 operations. Lead operation: Microsoft Graph Get drives from groups. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Groups.site 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: drives-groups-site baseUri: '' description: Microsoft Graph Drives — Groups.site business capability. Self-contained, no shared references. resources: - name: groups-group-id-sites-site-id-drives path: /groups/{group-id}/sites/{site-id}/drives operations: - name: groupssiteslistdrives method: GET description: Microsoft Graph Get drives 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: groups-group-id-sites-site-id-drives-$count path: /groups/{group-id}/sites/{site-id}/drives/$count operations: - name: groupssitesdrivesgetcountba0d method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: groups-group-id-sites-site-id-drives-drive-id path: /groups/{group-id}/sites/{site-id}/drives/{drive-id} operations: - name: groupssitesgetdrives method: GET description: Microsoft Graph Get drives 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: groups-group-id-sites-site-id-getByPath(path='{path}')-drives path: /groups/{group-id}/sites/{site-id}/getByPath(path='{path}')/drives operations: - name: groupssitesgetbypathlistdrives method: GET description: Microsoft Graph Get drives 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 exposes: - type: rest namespace: drives-groups-site-rest port: 8080 description: REST adapter for Microsoft Graph Drives — Groups.site. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups/{group-id}/sites/{site-id}/drives name: groups-group-id-sites-site-id-drives description: REST surface for groups-group-id-sites-site-id-drives. operations: - method: GET name: groupssiteslistdrives description: Microsoft Graph Get drives from groups call: drives-groups-site.groupssiteslistdrives with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/groups/{group-id}/sites/{site-id}/drives/count name: groups-group-id-sites-site-id-drives-count description: REST surface for groups-group-id-sites-site-id-drives-$count. operations: - method: GET name: groupssitesdrivesgetcountba0d description: Microsoft Graph Get the number of the resource call: drives-groups-site.groupssitesdrivesgetcountba0d outputParameters: - type: object mapping: $. - path: /v1/groups/{group-id}/sites/{site-id}/drives/{drive-id} name: groups-group-id-sites-site-id-drives-drive-id description: REST surface for groups-group-id-sites-site-id-drives-drive-id. operations: - method: GET name: groupssitesgetdrives description: Microsoft Graph Get drives from groups call: drives-groups-site.groupssitesgetdrives with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/groups/{group-id}/sites/{site-id}/getbypath-path-path/drives name: groups-group-id-sites-site-id-getbypath-path-path-drives description: REST surface for groups-group-id-sites-site-id-getByPath(path='{path}')-drives. operations: - method: GET name: groupssitesgetbypathlistdrives description: Microsoft Graph Get drives from groups call: drives-groups-site.groupssitesgetbypathlistdrives with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: drives-groups-site-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Drives — Groups.site. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-drives-groups description: Microsoft Graph Get drives from groups hints: readOnly: true destructive: false idempotent: true call: drives-groups-site.groupssiteslistdrives 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: drives-groups-site.groupssitesdrivesgetcountba0d outputParameters: - type: object mapping: $. - name: microsoft-graph-get-drives-groups-2 description: Microsoft Graph Get drives from groups hints: readOnly: true destructive: false idempotent: true call: drives-groups-site.groupssitesgetdrives with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-drives-groups-3 description: Microsoft Graph Get drives from groups hints: readOnly: true destructive: false idempotent: true call: drives-groups-site.groupssitesgetbypathlistdrives with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.