Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — Sites.drive

Microsoft Graph OData Service for namespace microsoft.graph — Sites.drive. 6 operations. Lead operation: Microsoft Graph Get drive from sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphSites.drive

What You Can Do

GET
Sitesgetdrive — Microsoft Graph Get drive from sites
/v1/sites/{site-id}/drive
GET
Siteslistdrives — Microsoft Graph Get drives from sites
/v1/sites/{site-id}/drives
GET
Sitesdrivesgetcount5071 — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/drives/count
GET
Sitesgetdrives — Microsoft Graph Get drives from sites
/v1/sites/{site-id}/drives/{drive-id}
GET
Sitesgetbypathgetdrive — Microsoft Graph Get drive from sites
/v1/sites/{site-id}/getbypath-path-path/drive
GET
Sitesgetbypathlistdrives — Microsoft Graph Get drives from sites
/v1/sites/{site-id}/getbypath-path-path/drives

MCP Tools

microsoft-graph-get-drive-sites

Microsoft Graph Get drive from sites

read-only idempotent
microsoft-graph-get-drives-sites

Microsoft Graph Get drives from sites

read-only idempotent
microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-drives-sites-2

Microsoft Graph Get drives from sites

read-only idempotent
microsoft-graph-get-drive-sites-2

Microsoft Graph Get drive from sites

read-only idempotent
microsoft-graph-get-drives-sites-3

Microsoft Graph Get drives from sites

read-only idempotent

Capability Spec

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