naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — shares.driveItem description: 'Microsoft Graph OData Service for namespace microsoft.graph — shares.driveItem. 14 operations. Lead operation: Microsoft Graph Accessing shared DriveItems. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - shares.driveItem 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-shares-driveitem baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — shares.driveItem business capability. Self-contained, no shared references. resources: - name: shares-sharedDriveItem-id-driveItem path: /shares/{sharedDriveItem-id}/driveItem operations: - name: sharesgetdriveitem method: GET description: Microsoft Graph Accessing shared DriveItems 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: shares-sharedDriveItem-id-driveItem-content path: /shares/{sharedDriveItem-id}/driveItem/content operations: - name: sharesgetdriveitemcontent method: GET description: Microsoft Graph Get content for the navigation property driveItem from shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $format in: query type: string description: Format of the content - name: sharesupdatedriveitemcontent method: PUT description: Microsoft Graph Update content for the navigation property driveItem in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sharesdeletedriveitemcontent method: DELETE description: Microsoft Graph Delete content for the navigation property driveItem in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: shares-sharedDriveItem-id-items path: /shares/{sharedDriveItem-id}/items operations: - name: shareslistitems method: GET description: Microsoft Graph Get items from shares 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: shares-sharedDriveItem-id-items-$count path: /shares/{sharedDriveItem-id}/items/$count operations: - name: sharesitemsgetcount245c method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: shares-sharedDriveItem-id-items-driveItem-id path: /shares/{sharedDriveItem-id}/items/{driveItem-id} operations: - name: sharesgetitems method: GET description: Microsoft Graph Get items from shares 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: shares-sharedDriveItem-id-items-driveItem-id-content path: /shares/{sharedDriveItem-id}/items/{driveItem-id}/content operations: - name: sharesgetitemscontent method: GET description: Microsoft Graph Get content for the navigation property items from shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $format in: query type: string description: Format of the content - name: sharesupdateitemscontent method: PUT description: Microsoft Graph Update content for the navigation property items in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sharesdeleteitemscontent method: DELETE description: Microsoft Graph Delete content for the navigation property items in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: shares-sharedDriveItem-id-root path: /shares/{sharedDriveItem-id}/root operations: - name: sharesgetroot method: GET description: Microsoft Graph Get root from shares 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: shares-sharedDriveItem-id-root-content path: /shares/{sharedDriveItem-id}/root/content operations: - name: sharesgetrootcontent method: GET description: Microsoft Graph Get content for the navigation property root from shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $format in: query type: string description: Format of the content - name: sharesupdaterootcontent method: PUT description: Microsoft Graph Update content for the navigation property root in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sharesdeleterootcontent method: DELETE description: Microsoft Graph Delete content for the navigation property root in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: microsoft-graph-shares-driveitem-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — shares.driveItem. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/shares/{shareddriveitem-id}/driveitem name: shares-shareddriveitem-id-driveitem description: REST surface for shares-sharedDriveItem-id-driveItem. operations: - method: GET name: sharesgetdriveitem description: Microsoft Graph Accessing shared DriveItems call: microsoft-graph-shares-driveitem.sharesgetdriveitem with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/driveitem/content name: shares-shareddriveitem-id-driveitem-content description: REST surface for shares-sharedDriveItem-id-driveItem-content. operations: - method: GET name: sharesgetdriveitemcontent description: Microsoft Graph Get content for the navigation property driveItem from shares call: microsoft-graph-shares-driveitem.sharesgetdriveitemcontent with: $format: rest.$format outputParameters: - type: object mapping: $. - method: PUT name: sharesupdatedriveitemcontent description: Microsoft Graph Update content for the navigation property driveItem in shares call: microsoft-graph-shares-driveitem.sharesupdatedriveitemcontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sharesdeletedriveitemcontent description: Microsoft Graph Delete content for the navigation property driveItem in shares call: microsoft-graph-shares-driveitem.sharesdeletedriveitemcontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/items name: shares-shareddriveitem-id-items description: REST surface for shares-sharedDriveItem-id-items. operations: - method: GET name: shareslistitems description: Microsoft Graph Get items from shares call: microsoft-graph-shares-driveitem.shareslistitems with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/items/count name: shares-shareddriveitem-id-items-count description: REST surface for shares-sharedDriveItem-id-items-$count. operations: - method: GET name: sharesitemsgetcount245c description: Microsoft Graph Get the number of the resource call: microsoft-graph-shares-driveitem.sharesitemsgetcount245c outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/items/{driveitem-id} name: shares-shareddriveitem-id-items-driveitem-id description: REST surface for shares-sharedDriveItem-id-items-driveItem-id. operations: - method: GET name: sharesgetitems description: Microsoft Graph Get items from shares call: microsoft-graph-shares-driveitem.sharesgetitems with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/items/{driveitem-id}/content name: shares-shareddriveitem-id-items-driveitem-id-content description: REST surface for shares-sharedDriveItem-id-items-driveItem-id-content. operations: - method: GET name: sharesgetitemscontent description: Microsoft Graph Get content for the navigation property items from shares call: microsoft-graph-shares-driveitem.sharesgetitemscontent with: $format: rest.$format outputParameters: - type: object mapping: $. - method: PUT name: sharesupdateitemscontent description: Microsoft Graph Update content for the navigation property items in shares call: microsoft-graph-shares-driveitem.sharesupdateitemscontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sharesdeleteitemscontent description: Microsoft Graph Delete content for the navigation property items in shares call: microsoft-graph-shares-driveitem.sharesdeleteitemscontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/root name: shares-shareddriveitem-id-root description: REST surface for shares-sharedDriveItem-id-root. operations: - method: GET name: sharesgetroot description: Microsoft Graph Get root from shares call: microsoft-graph-shares-driveitem.sharesgetroot with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/root/content name: shares-shareddriveitem-id-root-content description: REST surface for shares-sharedDriveItem-id-root-content. operations: - method: GET name: sharesgetrootcontent description: Microsoft Graph Get content for the navigation property root from shares call: microsoft-graph-shares-driveitem.sharesgetrootcontent with: $format: rest.$format outputParameters: - type: object mapping: $. - method: PUT name: sharesupdaterootcontent description: Microsoft Graph Update content for the navigation property root in shares call: microsoft-graph-shares-driveitem.sharesupdaterootcontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sharesdeleterootcontent description: Microsoft Graph Delete content for the navigation property root in shares call: microsoft-graph-shares-driveitem.sharesdeleterootcontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-shares-driveitem-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — shares.driveItem. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-accessing-shared-driveitems description: Microsoft Graph Accessing shared DriveItems hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetdriveitem with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-content-navigation description: Microsoft Graph Get content for the navigation property driveItem from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetdriveitemcontent with: $format: tools.$format outputParameters: - type: object mapping: $. - name: microsoft-graph-update-content-navigation description: Microsoft Graph Update content for the navigation property driveItem in shares hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesupdatedriveitemcontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-content-navigation description: Microsoft Graph Delete content for the navigation property driveItem in shares hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-shares-driveitem.sharesdeletedriveitemcontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-shares description: Microsoft Graph Get items from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.shareslistitems 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: microsoft-graph-shares-driveitem.sharesitemsgetcount245c outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-shares-2 description: Microsoft Graph Get items from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetitems with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-content-navigation-2 description: Microsoft Graph Get content for the navigation property items from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetitemscontent with: $format: tools.$format outputParameters: - type: object mapping: $. - name: microsoft-graph-update-content-navigation-2 description: Microsoft Graph Update content for the navigation property items in shares hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesupdateitemscontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-content-navigation-2 description: Microsoft Graph Delete content for the navigation property items in shares hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-shares-driveitem.sharesdeleteitemscontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-root-shares description: Microsoft Graph Get root from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetroot with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-content-navigation-3 description: Microsoft Graph Get content for the navigation property root from shares hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesgetrootcontent with: $format: tools.$format outputParameters: - type: object mapping: $. - name: microsoft-graph-update-content-navigation-3 description: Microsoft Graph Update content for the navigation property root in shares hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-shares-driveitem.sharesupdaterootcontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-content-navigation-3 description: Microsoft Graph Delete content for the navigation property root in shares hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-shares-driveitem.sharesdeleterootcontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.