naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — Drives.drive description: 'Microsoft Graph OData Service for namespace microsoft.graph — Drives.drive. 5 operations. Lead operation: Microsoft Graph Get entities from drives. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Drives.drive 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-drives-drive baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — Drives.drive business capability. Self-contained, no shared references. resources: - name: drives path: /drives operations: - name: drivesdrivelistdrive method: GET description: Microsoft Graph Get entities from drives 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: drivesdrivecreatedrive method: POST description: Microsoft Graph Add new entity to drives outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: drives-drive-id path: /drives/{drive-id} operations: - name: drivesdrivegetdrive method: GET description: Microsoft Graph Get entity from drives by key 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: drivesdriveupdatedrive method: PATCH description: Microsoft Graph Update entity in drives outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: drivesdrivedeletedrive method: DELETE description: Microsoft Graph Delete entity from drives outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: microsoft-graph-drives-drive-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — Drives.drive. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/drives name: drives description: REST surface for drives. operations: - method: GET name: drivesdrivelistdrive description: Microsoft Graph Get entities from drives call: microsoft-graph-drives-drive.drivesdrivelistdrive with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: drivesdrivecreatedrive description: Microsoft Graph Add new entity to drives call: microsoft-graph-drives-drive.drivesdrivecreatedrive with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/drives/{drive-id} name: drives-drive-id description: REST surface for drives-drive-id. operations: - method: GET name: drivesdrivegetdrive description: Microsoft Graph Get entity from drives by key call: microsoft-graph-drives-drive.drivesdrivegetdrive with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: drivesdriveupdatedrive description: Microsoft Graph Update entity in drives call: microsoft-graph-drives-drive.drivesdriveupdatedrive with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: drivesdrivedeletedrive description: Microsoft Graph Delete entity from drives call: microsoft-graph-drives-drive.drivesdrivedeletedrive with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-drives-drive-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — Drives.drive. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-entities-drives description: Microsoft Graph Get entities from drives hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-drives-drive.drivesdrivelistdrive with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-add-new-entity description: Microsoft Graph Add new entity to drives hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-drives-drive.drivesdrivecreatedrive with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-entity-drives description: Microsoft Graph Get entity from drives by key hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-drives-drive.drivesdrivegetdrive with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-entity-drives description: Microsoft Graph Update entity in drives hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-drives-drive.drivesdriveupdatedrive with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-entity-drives description: Microsoft Graph Delete entity from drives hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-drives-drive.drivesdrivedeletedrive with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.