Microsoft Azure · Capability

Microsoft Azure Computer Vision API — generateThumbnail

Microsoft Azure Computer Vision API — generateThumbnail. 1 operations. Lead operation: Microsoft Azure Post Generatethumbnail. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzuregenerateThumbnail

What You Can Do

POST
Microsoftazuregeneratethumbnail — Microsoft Azure Post Generatethumbnail
/v1/generatethumbnail

MCP Tools

microsoft-azure-post-generatethumbnail

Microsoft Azure Post Generatethumbnail

Capability Spec

computer-vision-generatethumbnail.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Computer Vision API — generateThumbnail
  description: 'Microsoft Azure Computer Vision API — generateThumbnail. 1 operations. Lead operation: Microsoft Azure Post
    Generatethumbnail. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - generateThumbnail
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: computer-vision-generatethumbnail
    baseUri: ''
    description: Microsoft Azure Computer Vision API — generateThumbnail business capability. Self-contained, no shared references.
    resources:
    - name: generateThumbnail
      path: /generateThumbnail
      operations:
      - name: microsoftazuregeneratethumbnail
        method: POST
        description: Microsoft Azure Post Generatethumbnail
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: width
          in: query
          type: integer
          description: Width of the thumbnail. It must be between 1 and 1024. Recommended minimum of 50.
          required: true
        - name: height
          in: query
          type: integer
          description: Height of the thumbnail. It must be between 1 and 1024. Recommended minimum of 50.
          required: true
        - name: smartCropping
          in: query
          type: boolean
          description: Boolean flag for enabling smart cropping.
  exposes:
  - type: rest
    namespace: computer-vision-generatethumbnail-rest
    port: 8080
    description: REST adapter for Microsoft Azure Computer Vision API — generateThumbnail. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/generatethumbnail
      name: generatethumbnail
      description: REST surface for generateThumbnail.
      operations:
      - method: POST
        name: microsoftazuregeneratethumbnail
        description: Microsoft Azure Post Generatethumbnail
        call: computer-vision-generatethumbnail.microsoftazuregeneratethumbnail
        with:
          width: rest.width
          height: rest.height
          smartCropping: rest.smartCropping
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: computer-vision-generatethumbnail-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Computer Vision API — generateThumbnail. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-post-generatethumbnail
      description: Microsoft Azure Post Generatethumbnail
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: computer-vision-generatethumbnail.microsoftazuregeneratethumbnail
      with:
        width: tools.width
        height: tools.height
        smartCropping: tools.smartCropping
      outputParameters:
      - type: object
        mapping: $.