Toyota · Capability

Toyota Telematics API — Fleet

Toyota Telematics API — Fleet. 2 operations. Lead operation: List Fleet Vehicles. Self-contained Naftiko capability covering one Toyota business surface.

Run with Naftiko ToyotaFleet

What You Can Do

GET
Listfleetvehicles — List Fleet Vehicles
/v1/fleet/{fleetid}/vehicles
POST
Enrollvehicle — Enroll Vehicle
/v1/fleet/{fleetid}/vehicles/enroll

MCP Tools

list-fleet-vehicles

List Fleet Vehicles

read-only idempotent
enroll-vehicle

Enroll Vehicle

Capability Spec

telematics-fleet.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Toyota Telematics API — Fleet
  description: 'Toyota Telematics API — Fleet. 2 operations. Lead operation: List Fleet Vehicles. Self-contained Naftiko capability
    covering one Toyota business surface.'
  tags:
  - Toyota
  - Fleet
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TOYOTA_API_KEY: TOYOTA_API_KEY
capability:
  consumes:
  - type: http
    namespace: telematics-fleet
    baseUri: https://api.eig.toyota.com/telematics/v1
    description: Toyota Telematics API — Fleet business capability. Self-contained, no shared references.
    resources:
    - name: fleet-fleetId-vehicles
      path: /fleet/{fleetId}/vehicles
      operations:
      - name: listfleetvehicles
        method: GET
        description: List Fleet Vehicles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fleetId
          in: path
          type: string
          description: Fleet identifier
          required: true
        - name: status
          in: query
          type: string
          description: Filter by status
        - name: page
          in: query
          type: integer
        - name: limit
          in: query
          type: integer
    - name: fleet-fleetId-vehicles-enroll
      path: /fleet/{fleetId}/vehicles/enroll
      operations:
      - name: enrollvehicle
        method: POST
        description: Enroll Vehicle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fleetId
          in: path
          type: string
          description: Fleet identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TOYOTA_API_KEY}}'
  exposes:
  - type: rest
    namespace: telematics-fleet-rest
    port: 8080
    description: REST adapter for Toyota Telematics API — Fleet. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/fleet/{fleetid}/vehicles
      name: fleet-fleetid-vehicles
      description: REST surface for fleet-fleetId-vehicles.
      operations:
      - method: GET
        name: listfleetvehicles
        description: List Fleet Vehicles
        call: telematics-fleet.listfleetvehicles
        with:
          fleetId: rest.fleetId
          status: rest.status
          page: rest.page
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/fleet/{fleetid}/vehicles/enroll
      name: fleet-fleetid-vehicles-enroll
      description: REST surface for fleet-fleetId-vehicles-enroll.
      operations:
      - method: POST
        name: enrollvehicle
        description: Enroll Vehicle
        call: telematics-fleet.enrollvehicle
        with:
          fleetId: rest.fleetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telematics-fleet-mcp
    port: 9090
    transport: http
    description: MCP adapter for Toyota Telematics API — Fleet. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-fleet-vehicles
      description: List Fleet Vehicles
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telematics-fleet.listfleetvehicles
      with:
        fleetId: tools.fleetId
        status: tools.status
        page: tools.page
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: enroll-vehicle
      description: Enroll Vehicle
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telematics-fleet.enrollvehicle
      with:
        fleetId: tools.fleetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.