naftiko: 1.0.0-alpha2 info: label: Google Maps Places API (New) — Photos description: 'Google Maps Places API (New) — Photos. 1 operations. Lead operation: Get a Place Photo. Self-contained Naftiko capability covering one Google Maps business surface.' tags: - Google Maps - Photos created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_MAPS_API_KEY: GOOGLE_MAPS_API_KEY capability: consumes: - type: http namespace: places-photos baseUri: https://places.googleapis.com/v1 description: Google Maps Places API (New) — Photos business capability. Self-contained, no shared references. resources: - name: places-placeId-photos-photoReference-media path: /places/{placeId}/photos/{photoReference}/media operations: - name: getplacephoto method: GET description: Get a Place Photo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: placeId in: path type: string description: The place ID required: true - name: photoReference in: path type: string description: The photo resource reference required: true - name: maxHeightPx in: query type: integer description: Maximum height of the image in pixels. Must be between 1 and 4800. If maxHeightPx is set without maxWidthPx, the image is resized to the specified height, prese - name: maxWidthPx in: query type: integer description: Maximum width of the image in pixels. Must be between 1 and 4800. If maxWidthPx is set without maxHeightPx, the image is resized to the specified width, preserv - name: skipHttpRedirect in: query type: boolean description: If set to true, skip the default HTTP redirect behavior and return a JSON response containing the photo URI. authentication: type: apikey key: X-Goog-Api-Key value: '{{env.GOOGLE_MAPS_API_KEY}}' placement: header exposes: - type: rest namespace: places-photos-rest port: 8080 description: REST adapter for Google Maps Places API (New) — Photos. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/places/{placeid}/photos/{photoreference}/media name: places-placeid-photos-photoreference-media description: REST surface for places-placeId-photos-photoReference-media. operations: - method: GET name: getplacephoto description: Get a Place Photo call: places-photos.getplacephoto with: placeId: rest.placeId photoReference: rest.photoReference maxHeightPx: rest.maxHeightPx maxWidthPx: rest.maxWidthPx skipHttpRedirect: rest.skipHttpRedirect outputParameters: - type: object mapping: $. - type: mcp namespace: places-photos-mcp port: 9090 transport: http description: MCP adapter for Google Maps Places API (New) — Photos. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-place-photo description: Get a Place Photo hints: readOnly: true destructive: false idempotent: true call: places-photos.getplacephoto with: placeId: tools.placeId photoReference: tools.photoReference maxHeightPx: tools.maxHeightPx maxWidthPx: tools.maxWidthPx skipHttpRedirect: tools.skipHttpRedirect outputParameters: - type: object mapping: $.