naftiko: 1.0.0-alpha2 info: label: Sound Transit OneBusAway API — Vehicles description: 'Sound Transit OneBusAway API — Vehicles. 2 operations. Lead operation: Get Trip For Vehicle. Self-contained Naftiko capability covering one Sound Transit business surface.' tags: - Sound Transit - Vehicles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SOUND_TRANSIT_API_KEY: SOUND_TRANSIT_API_KEY capability: consumes: - type: http namespace: onebusaway-vehicles baseUri: https://api.pugetsound.onebusaway.org/api/where description: Sound Transit OneBusAway API — Vehicles business capability. Self-contained, no shared references. resources: - name: trip-for-vehicle-id}.json path: /trip-for-vehicle/{id}.json operations: - name: gettripforvehicle method: GET description: Get Trip For Vehicle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Vehicle identifier required: true - name: vehicles-for-agency-id}.json path: /vehicles-for-agency/{id}.json operations: - name: listvehiclesforagency method: GET description: List Vehicles For Agency outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Agency identifier required: true exposes: - type: rest namespace: onebusaway-vehicles-rest port: 8080 description: REST adapter for Sound Transit OneBusAway API — Vehicles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/trip-for-vehicle/id-json name: trip-for-vehicle-id-json description: REST surface for trip-for-vehicle-id}.json. operations: - method: GET name: gettripforvehicle description: Get Trip For Vehicle call: onebusaway-vehicles.gettripforvehicle with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/vehicles-for-agency/id-json name: vehicles-for-agency-id-json description: REST surface for vehicles-for-agency-id}.json. operations: - method: GET name: listvehiclesforagency description: List Vehicles For Agency call: onebusaway-vehicles.listvehiclesforagency with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: onebusaway-vehicles-mcp port: 9090 transport: http description: MCP adapter for Sound Transit OneBusAway API — Vehicles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-trip-vehicle description: Get Trip For Vehicle hints: readOnly: true destructive: false idempotent: true call: onebusaway-vehicles.gettripforvehicle with: id: tools.id outputParameters: - type: object mapping: $. - name: list-vehicles-agency description: List Vehicles For Agency hints: readOnly: true destructive: false idempotent: true call: onebusaway-vehicles.listvehiclesforagency with: id: tools.id outputParameters: - type: object mapping: $.