Microsoft Word · Capability

Microsoft Graph Word API — Checkout

Microsoft Graph Word API — Checkout. 2 operations. Lead operation: Microsoft Word Check in Drive Item. Self-contained Naftiko capability covering one Microsoft Word business surface.

Run with Naftiko Microsoft WordCheckout

What You Can Do

POST
Checkindriveitem — Microsoft Word Check in Drive Item
/v1/me/drive/items/{item-id}/checkin
POST
Checkoutdriveitem — Microsoft Word Check Out Drive Item
/v1/me/drive/items/{item-id}/checkout

MCP Tools

microsoft-word-check-drive-item

Microsoft Word Check in Drive Item

read-only
microsoft-word-check-out-drive

Microsoft Word Check Out Drive Item

read-only

Capability Spec

graph-checkout.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Word API — Checkout
  description: 'Microsoft Graph Word API — Checkout. 2 operations. Lead operation: Microsoft Word Check in Drive Item. Self-contained
    Naftiko capability covering one Microsoft Word business surface.'
  tags:
  - Microsoft Word
  - Checkout
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_WORD_API_KEY: MICROSOFT_WORD_API_KEY
capability:
  consumes:
  - type: http
    namespace: graph-checkout
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph Word API — Checkout business capability. Self-contained, no shared references.
    resources:
    - name: me-drive-items-item-id-checkin
      path: /me/drive/items/{item-id}/checkin
      operations:
      - name: checkindriveitem
        method: POST
        description: Microsoft Word Check in Drive Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: me-drive-items-item-id-checkout
      path: /me/drive/items/{item-id}/checkout
      operations:
      - name: checkoutdriveitem
        method: POST
        description: Microsoft Word Check Out Drive Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_WORD_API_KEY}}'
  exposes:
  - type: rest
    namespace: graph-checkout-rest
    port: 8080
    description: REST adapter for Microsoft Graph Word API — Checkout. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/me/drive/items/{item-id}/checkin
      name: me-drive-items-item-id-checkin
      description: REST surface for me-drive-items-item-id-checkin.
      operations:
      - method: POST
        name: checkindriveitem
        description: Microsoft Word Check in Drive Item
        call: graph-checkout.checkindriveitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/drive/items/{item-id}/checkout
      name: me-drive-items-item-id-checkout
      description: REST surface for me-drive-items-item-id-checkout.
      operations:
      - method: POST
        name: checkoutdriveitem
        description: Microsoft Word Check Out Drive Item
        call: graph-checkout.checkoutdriveitem
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graph-checkout-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Word API — Checkout. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-word-check-drive-item
      description: Microsoft Word Check in Drive Item
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: graph-checkout.checkindriveitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-word-check-out-drive
      description: Microsoft Word Check Out Drive Item
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: graph-checkout.checkoutdriveitem
      outputParameters:
      - type: object
        mapping: $.