Microsoft Visio · Capability

Microsoft Graph Visio API — Pages

Microsoft Graph Visio API — Pages. 2 operations. Lead operation: Microsoft Visio List Pages. Self-contained Naftiko capability covering one Microsoft Visio business surface.

Run with Naftiko Microsoft VisioPages

What You Can Do

GET
Listpages — Microsoft Visio List Pages
/v1/me/drive/items/{item-id}/workbook/pages
GET
Getpage — Microsoft Visio Get Page
/v1/me/drive/items/{item-id}/workbook/pages/{page-id}

MCP Tools

microsoft-visio-list-pages

Microsoft Visio List Pages

read-only idempotent
microsoft-visio-get-page

Microsoft Visio Get Page

read-only idempotent

Capability Spec

graph-pages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Visio API — Pages
  description: 'Microsoft Graph Visio API — Pages. 2 operations. Lead operation: Microsoft Visio List Pages. Self-contained
    Naftiko capability covering one Microsoft Visio business surface.'
  tags:
  - Microsoft Visio
  - Pages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_VISIO_API_KEY: MICROSOFT_VISIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: graph-pages
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph Visio API — Pages business capability. Self-contained, no shared references.
    resources:
    - name: me-drive-items-item-id-workbook-pages
      path: /me/drive/items/{item-id}/workbook/pages
      operations:
      - name: listpages
        method: GET
        description: Microsoft Visio List Pages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: item-id
          in: path
          type: string
          description: The ID of the Visio file.
          required: true
    - name: me-drive-items-item-id-workbook-pages-page-id
      path: /me/drive/items/{item-id}/workbook/pages/{page-id}
      operations:
      - name: getpage
        method: GET
        description: Microsoft Visio Get Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: item-id
          in: path
          type: string
          description: The ID of the Visio file.
          required: true
        - name: page-id
          in: path
          type: string
          description: The ID of the page.
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_VISIO_API_KEY}}'
  exposes:
  - type: rest
    namespace: graph-pages-rest
    port: 8080
    description: REST adapter for Microsoft Graph Visio API — Pages. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/me/drive/items/{item-id}/workbook/pages
      name: me-drive-items-item-id-workbook-pages
      description: REST surface for me-drive-items-item-id-workbook-pages.
      operations:
      - method: GET
        name: listpages
        description: Microsoft Visio List Pages
        call: graph-pages.listpages
        with:
          item-id: rest.item-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/drive/items/{item-id}/workbook/pages/{page-id}
      name: me-drive-items-item-id-workbook-pages-page-id
      description: REST surface for me-drive-items-item-id-workbook-pages-page-id.
      operations:
      - method: GET
        name: getpage
        description: Microsoft Visio Get Page
        call: graph-pages.getpage
        with:
          item-id: rest.item-id
          page-id: rest.page-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graph-pages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Visio API — Pages. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-visio-list-pages
      description: Microsoft Visio List Pages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-pages.listpages
      with:
        item-id: tools.item-id
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-visio-get-page
      description: Microsoft Visio Get Page
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-pages.getpage
      with:
        item-id: tools.item-id
        page-id: tools.page-id
      outputParameters:
      - type: object
        mapping: $.