Smartcar · Capability

Smartcar Vehicles API — Navigation

Smartcar Vehicles API — Navigation. 1 operations. Lead operation: Set Navigation Destination. Self-contained Naftiko capability covering one Smartcar business surface.

Run with Naftiko SmartcarNavigation

What You Can Do

POST
Setdestination — Set Navigation Destination
/v1/vehicles/{id}/commands/set-destination

MCP Tools

set-navigation-destination

Set Navigation Destination

Capability Spec

vehicles-navigation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Smartcar Vehicles API — Navigation
  description: 'Smartcar Vehicles API — Navigation. 1 operations. Lead operation: Set Navigation Destination. Self-contained
    Naftiko capability covering one Smartcar business surface.'
  tags:
  - Smartcar
  - Navigation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SMARTCAR_API_KEY: SMARTCAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: vehicles-navigation
    baseUri: https://vehicle.api.smartcar.com/v2.0
    description: Smartcar Vehicles API — Navigation business capability. Self-contained, no shared references.
    resources:
    - name: vehicles-id-commands-set-destination
      path: /vehicles/{id}/commands/set-destination
      operations:
      - name: setdestination
        method: POST
        description: Set Navigation Destination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SMARTCAR_API_KEY}}'
  exposes:
  - type: rest
    namespace: vehicles-navigation-rest
    port: 8080
    description: REST adapter for Smartcar Vehicles API — Navigation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/vehicles/{id}/commands/set-destination
      name: vehicles-id-commands-set-destination
      description: REST surface for vehicles-id-commands-set-destination.
      operations:
      - method: POST
        name: setdestination
        description: Set Navigation Destination
        call: vehicles-navigation.setdestination
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vehicles-navigation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Smartcar Vehicles API — Navigation. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: set-navigation-destination
      description: Set Navigation Destination
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: vehicles-navigation.setdestination
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.