naftiko: 1.0.0-alpha2 info: label: Toyota Telematics API — Telemetry description: 'Toyota Telematics API — Telemetry. 3 operations. Lead operation: Get Vehicle Location. Self-contained Naftiko capability covering one Toyota business surface.' tags: - Toyota - Telemetry created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOYOTA_API_KEY: TOYOTA_API_KEY capability: consumes: - type: http namespace: telematics-telemetry baseUri: https://api.eig.toyota.com/telematics/v1 description: Toyota Telematics API — Telemetry business capability. Self-contained, no shared references. resources: - name: vehicles-vin-location path: /vehicles/{vin}/location operations: - name: getvehiclelocation method: GET description: Get Vehicle Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: vin in: path type: string description: Vehicle Identification Number required: true - name: vehicles-vin-telemetry path: /vehicles/{vin}/telemetry operations: - name: getvehicletelemetry method: GET description: Get Vehicle Telemetry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: vin in: path type: string description: Vehicle Identification Number required: true - name: vehicles-vin-trips path: /vehicles/{vin}/trips operations: - name: getvehicletrips method: GET description: Get Vehicle Trips outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: vin in: path type: string description: Vehicle Identification Number required: true - name: fromDate in: query type: string description: Start date for trip history required: true - name: toDate in: query type: string description: End date for trip history required: true - name: limit in: query type: integer description: Maximum number of trips to return - name: offset in: query type: integer description: Pagination offset - name: includeRoute in: query type: boolean description: Include GPS route coordinates for each trip authentication: type: bearer token: '{{env.TOYOTA_API_KEY}}' exposes: - type: rest namespace: telematics-telemetry-rest port: 8080 description: REST adapter for Toyota Telematics API — Telemetry. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/vehicles/{vin}/location name: vehicles-vin-location description: REST surface for vehicles-vin-location. operations: - method: GET name: getvehiclelocation description: Get Vehicle Location call: telematics-telemetry.getvehiclelocation with: vin: rest.vin outputParameters: - type: object mapping: $. - path: /v1/vehicles/{vin}/telemetry name: vehicles-vin-telemetry description: REST surface for vehicles-vin-telemetry. operations: - method: GET name: getvehicletelemetry description: Get Vehicle Telemetry call: telematics-telemetry.getvehicletelemetry with: vin: rest.vin outputParameters: - type: object mapping: $. - path: /v1/vehicles/{vin}/trips name: vehicles-vin-trips description: REST surface for vehicles-vin-trips. operations: - method: GET name: getvehicletrips description: Get Vehicle Trips call: telematics-telemetry.getvehicletrips with: vin: rest.vin fromDate: rest.fromDate toDate: rest.toDate limit: rest.limit offset: rest.offset includeRoute: rest.includeRoute outputParameters: - type: object mapping: $. - type: mcp namespace: telematics-telemetry-mcp port: 9090 transport: http description: MCP adapter for Toyota Telematics API — Telemetry. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-vehicle-location description: Get Vehicle Location hints: readOnly: true destructive: false idempotent: true call: telematics-telemetry.getvehiclelocation with: vin: tools.vin outputParameters: - type: object mapping: $. - name: get-vehicle-telemetry description: Get Vehicle Telemetry hints: readOnly: true destructive: false idempotent: true call: telematics-telemetry.getvehicletelemetry with: vin: tools.vin outputParameters: - type: object mapping: $. - name: get-vehicle-trips description: Get Vehicle Trips hints: readOnly: true destructive: false idempotent: true call: telematics-telemetry.getvehicletrips with: vin: tools.vin fromDate: tools.fromDate toDate: tools.toDate limit: tools.limit offset: tools.offset includeRoute: tools.includeRoute outputParameters: - type: object mapping: $.