Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem

Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem. 6 operations. Lead operation: Microsoft Graph Accessing shared DriveItems. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphshares.sharedDriveItem

What You Can Do

GET
Sharesshareddriveitemlistshareddriveitem — Microsoft Graph Accessing shared DriveItems
/v1/shares
POST
Sharesshareddriveitemcreateshareddriveitem — Microsoft Graph Add new entity to shares
/v1/shares
GET
Sharesgetcount778c — Microsoft Graph Get the number of the resource
/v1/shares/count
GET
Sharesshareddriveitemgetshareddriveitem — Microsoft Graph Accessing shared DriveItems
/v1/shares/{shareddriveitem-id}
PATCH
Sharesshareddriveitemupdateshareddriveitem — Microsoft Graph Update entity in shares
/v1/shares/{shareddriveitem-id}
DELETE
Sharesshareddriveitemdeleteshareddriveitem — Microsoft Graph Delete entity from shares
/v1/shares/{shareddriveitem-id}

MCP Tools

microsoft-graph-accessing-shared-driveitems

Microsoft Graph Accessing shared DriveItems

read-only idempotent
microsoft-graph-add-new-entity

Microsoft Graph Add new entity to shares

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-accessing-shared-driveitems-2

Microsoft Graph Accessing shared DriveItems

read-only idempotent
microsoft-graph-update-entity-shares

Microsoft Graph Update entity in shares

idempotent
microsoft-graph-delete-entity-shares

Microsoft Graph Delete entity from shares

idempotent

Capability Spec

microsoft-graph-shares-shareddriveitem.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem. 6 operations. Lead operation:
    Microsoft Graph Accessing shared DriveItems. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - shares.sharedDriveItem
  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-shareddriveitem
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem business capability.
      Self-contained, no shared references.
    resources:
    - name: shares
      path: /shares
      operations:
      - name: sharesshareddriveitemlistshareddriveitem
        method: GET
        description: Microsoft Graph Accessing shared DriveItems
        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: sharesshareddriveitemcreateshareddriveitem
        method: POST
        description: Microsoft Graph Add new entity to shares
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: shares-$count
      path: /shares/$count
      operations:
      - name: sharesgetcount778c
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: shares-sharedDriveItem-id
      path: /shares/{sharedDriveItem-id}
      operations:
      - name: sharesshareddriveitemgetshareddriveitem
        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: sharesshareddriveitemupdateshareddriveitem
        method: PATCH
        description: Microsoft Graph Update entity in shares
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sharesshareddriveitemdeleteshareddriveitem
        method: DELETE
        description: Microsoft Graph Delete entity from 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-shareddriveitem-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem. One
      Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/shares
      name: shares
      description: REST surface for shares.
      operations:
      - method: GET
        name: sharesshareddriveitemlistshareddriveitem
        description: Microsoft Graph Accessing shared DriveItems
        call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemlistshareddriveitem
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sharesshareddriveitemcreateshareddriveitem
        description: Microsoft Graph Add new entity to shares
        call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemcreateshareddriveitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/shares/count
      name: shares-count
      description: REST surface for shares-$count.
      operations:
      - method: GET
        name: sharesgetcount778c
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-shares-shareddriveitem.sharesgetcount778c
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/shares/{shareddriveitem-id}
      name: shares-shareddriveitem-id
      description: REST surface for shares-sharedDriveItem-id.
      operations:
      - method: GET
        name: sharesshareddriveitemgetshareddriveitem
        description: Microsoft Graph Accessing shared DriveItems
        call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemgetshareddriveitem
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sharesshareddriveitemupdateshareddriveitem
        description: Microsoft Graph Update entity in shares
        call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemupdateshareddriveitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sharesshareddriveitemdeleteshareddriveitem
        description: Microsoft Graph Delete entity from shares
        call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemdeleteshareddriveitem
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-shares-shareddriveitem-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — shares.sharedDriveItem. 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-shareddriveitem.sharesshareddriveitemlistshareddriveitem
      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 shares
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemcreateshareddriveitem
      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-shares-shareddriveitem.sharesgetcount778c
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-accessing-shared-driveitems-2
      description: Microsoft Graph Accessing shared DriveItems
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemgetshareddriveitem
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-entity-shares
      description: Microsoft Graph Update entity in shares
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemupdateshareddriveitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-entity-shares
      description: Microsoft Graph Delete entity from shares
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-shares-shareddriveitem.sharesshareddriveitemdeleteshareddriveitem
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.