Flickr · Capability

Flickr API — Photos Transform

Photos — Photos Transform. 1 operations. Lead operation: Rotate Photo. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosPhotos Transform

What You Can Do

POST
Photostransformrotate — Rotate Photo
/v1/photos/transform/rotate

MCP Tools

rotate-photo

Rotate Photo

Capability Spec

flickr-photos-transform.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Photos Transform
  description: 'Photos — Photos Transform. 1 operations. Lead operation: Rotate Photo. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Photos Transform
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-photos-transform
      baseUri: https://api.flickr.com/services
      description: Flickr API — Photos Transform business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-photos-transform-rotate
          path: /rest/flickr.photos.transform.rotate
          operations:
            - name: photosTransformRotate
              method: POST
              description: Rotate Photo
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: photo_id
                  in: query
                  type: string
                  required: true
                  description: photo_id
                - name: degrees
                  in: query
                  type: integer
                  required: true
                  description: degrees
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-photos-transform-rest
      port: 8080
      description: REST adapter for Flickr API — Photos Transform. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/photos/transform/rotate
          name: rest-flickr-photos-transform-rotate
          description: REST surface for Rotate Photo.
          operations:
            - method: POST
              name: photosTransformRotate
              description: Rotate Photo
              call: flickr-photos-transform.photosTransformRotate
              with:
                api_key: rest.api_key
                photo_id: rest.photo_id
                degrees: rest.degrees
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-photos-transform-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Photos Transform. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: rotate-photo
          description: Rotate Photo
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: flickr-photos-transform.photosTransformRotate
          with:
            api_key: tools.api_key
            photo_id: tools.photo_id
            degrees: tools.degrees
          outputParameters:
            - type: object
              mapping: $.