Vehicle API · Capability

Vehicle API (Edmunds) — Media

Vehicle API (Edmunds) — Media. 1 operations. Lead operation: Vehicle API Get Style Photos. Self-contained Naftiko capability covering one Vehicle Api business surface.

Run with Naftiko Vehicle ApiMedia

What You Can Do

GET
Getstylephotos — Vehicle API Get Style Photos
/v1/vehicle/v2/media/{styleid}/photos

MCP Tools

vehicle-api-get-style-photos

Vehicle API Get Style Photos

read-only idempotent

Capability Spec

vehicle-media.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vehicle API (Edmunds) — Media
  description: 'Vehicle API (Edmunds) — Media. 1 operations. Lead operation: Vehicle API Get Style Photos. Self-contained
    Naftiko capability covering one Vehicle Api business surface.'
  tags:
  - Vehicle Api
  - Media
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VEHICLE_API_API_KEY: VEHICLE_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: vehicle-media
    baseUri: https://api.edmunds.com/api
    description: Vehicle API (Edmunds) — Media business capability. Self-contained, no shared references.
    resources:
    - name: vehicle-v2-media-styleId-photos
      path: /vehicle/v2/media/{styleId}/photos
      operations:
      - name: getstylephotos
        method: GET
        description: Vehicle API Get Style Photos
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: styleId
          in: path
          type: integer
          description: Edmunds style ID
          required: true
        - name: api_key
          in: query
          type: string
          description: Edmunds API key
          required: true
    authentication:
      type: apikey
      key: api_key
      value: '{{env.VEHICLE_API_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: vehicle-media-rest
    port: 8080
    description: REST adapter for Vehicle API (Edmunds) — Media. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/vehicle/v2/media/{styleid}/photos
      name: vehicle-v2-media-styleid-photos
      description: REST surface for vehicle-v2-media-styleId-photos.
      operations:
      - method: GET
        name: getstylephotos
        description: Vehicle API Get Style Photos
        call: vehicle-media.getstylephotos
        with:
          styleId: rest.styleId
          api_key: rest.api_key
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vehicle-media-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vehicle API (Edmunds) — Media. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: vehicle-api-get-style-photos
      description: Vehicle API Get Style Photos
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: vehicle-media.getstylephotos
      with:
        styleId: tools.styleId
        api_key: tools.api_key
      outputParameters:
      - type: object
        mapping: $.