Microsoft Windows 10 · Capability

Microsoft Windows 10 Windows Media Capture API — Photo Capture

Microsoft Windows 10 Windows Media Capture API — Photo Capture. 1 operations. Lead operation: Microsoft Windows 10 Capture a photo. Self-contained Naftiko capability covering one Microsoft Windows 10 business surface.

Run with Naftiko Microsoft Windows 10Photo Capture

What You Can Do

POST
Capturephoto — Microsoft Windows 10 Capture a photo
/v1/media/capture/sessions/{sessionid}/photo

MCP Tools

microsoft-windows-10-capture-photo

Microsoft Windows 10 Capture a photo

Capability Spec

media-capture-photo-capture.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Windows 10 Windows Media Capture API — Photo Capture
  description: 'Microsoft Windows 10 Windows Media Capture API — Photo Capture. 1 operations. Lead operation: Microsoft Windows
    10 Capture a photo. Self-contained Naftiko capability covering one Microsoft Windows 10 business surface.'
  tags:
  - Microsoft Windows 10
  - Photo Capture
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_WINDOWS_10_API_KEY: MICROSOFT_WINDOWS_10_API_KEY
capability:
  consumes:
  - type: http
    namespace: media-capture-photo-capture
    baseUri: https://api.windows.com
    description: Microsoft Windows 10 Windows Media Capture API — Photo Capture business capability. Self-contained, no shared
      references.
    resources:
    - name: media-capture-sessions-sessionId-photo
      path: /media/capture/sessions/{sessionId}/photo
      operations:
      - name: capturephoto
        method: POST
        description: Microsoft Windows 10 Capture a photo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sessionId
          in: path
          type: string
          description: Capture session identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: media-capture-photo-capture-rest
    port: 8080
    description: REST adapter for Microsoft Windows 10 Windows Media Capture API — Photo Capture. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/media/capture/sessions/{sessionid}/photo
      name: media-capture-sessions-sessionid-photo
      description: REST surface for media-capture-sessions-sessionId-photo.
      operations:
      - method: POST
        name: capturephoto
        description: Microsoft Windows 10 Capture a photo
        call: media-capture-photo-capture.capturephoto
        with:
          sessionId: rest.sessionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: media-capture-photo-capture-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Windows 10 Windows Media Capture API — Photo Capture. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-windows-10-capture-photo
      description: Microsoft Windows 10 Capture a photo
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: media-capture-photo-capture.capturephoto
      with:
        sessionId: tools.sessionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.