naftiko: 1.0.0-alpha2 info: label: Foursquare Places API — photos description: 'Foursquare Places API — photos. 1 operations. Lead operation: Place photos. Self-contained Naftiko capability covering one Foursquare business surface.' tags: - Foursquare - photos created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FOURSQUARE_API_KEY: FOURSQUARE_API_KEY capability: consumes: - type: http namespace: places-photos baseUri: https://places-api.foursquare.com description: Foursquare Places API — photos business capability. Self-contained, no shared references. resources: - name: places-fsq_id-photos path: /places/{fsq_id}/photos operations: - name: getplacephotos method: GET description: Place photos outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fsq_id in: path type: string required: true - name: limit in: query type: integer authentication: type: apikey key: Authorization value: '{{env.FOURSQUARE_API_KEY}}' placement: header exposes: - type: rest namespace: places-photos-rest port: 8080 description: REST adapter for Foursquare Places API — photos. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/places/{fsq-id}/photos name: places-fsq-id-photos description: REST surface for places-fsq_id-photos. operations: - method: GET name: getplacephotos description: Place photos call: places-photos.getplacephotos with: fsq_id: rest.fsq_id limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: places-photos-mcp port: 9090 transport: http description: MCP adapter for Foursquare Places API — photos. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: place-photos description: Place photos hints: readOnly: true destructive: false idempotent: true call: places-photos.getplacephotos with: fsq_id: tools.fsq_id limit: tools.limit outputParameters: - type: object mapping: $.