Microsoft Graph · Capability

Microsoft Graph Search — drives.drive.Functions

Microsoft Graph Search — drives.drive.Functions. 1 operations. Lead operation: Microsoft Graph Invoke function search. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphdrives.drive.Functions

What You Can Do

GET
Drivesdrivesearch — Microsoft Graph Invoke function search
/v1/drives/{drive-id}/search-q-q

MCP Tools

microsoft-graph-invoke-function-search

Microsoft Graph Invoke function search

read-only idempotent

Capability Spec

search-drives-drive-functions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Search — drives.drive.Functions
  description: 'Microsoft Graph Search — drives.drive.Functions. 1 operations. Lead operation: Microsoft Graph Invoke function
    search. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - drives.drive.Functions
  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: search-drives-drive-functions
    baseUri: ''
    description: Microsoft Graph Search — drives.drive.Functions business capability. Self-contained, no shared references.
    resources:
    - name: drives-drive-id-search(q='{q}')
      path: /drives/{drive-id}/search(q='{q}')
      operations:
      - name: drivesdrivesearch
        method: GET
        description: Microsoft Graph Invoke function search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
  exposes:
  - type: rest
    namespace: search-drives-drive-functions-rest
    port: 8080
    description: REST adapter for Microsoft Graph Search — drives.drive.Functions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/drives/{drive-id}/search-q-q
      name: drives-drive-id-search-q-q
      description: REST surface for drives-drive-id-search(q='{q}').
      operations:
      - method: GET
        name: drivesdrivesearch
        description: Microsoft Graph Invoke function search
        call: search-drives-drive-functions.drivesdrivesearch
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: search-drives-drive-functions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Search — drives.drive.Functions. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-invoke-function-search
      description: Microsoft Graph Invoke function search
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-drives-drive-functions.drivesdrivesearch
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.