naftiko: 1.0.0-alpha2 info: label: CargoSmart Shipment Tracking API — Containers description: 'CargoSmart Shipment Tracking API — Containers. 2 operations. Lead operation: Track multiple containers. Self-contained Naftiko capability covering one Cargosmart business surface.' tags: - Cargosmart - Containers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CARGOSMART_API_KEY: CARGOSMART_API_KEY capability: consumes: - type: http namespace: shipment-tracking-containers baseUri: https://api.cargosmart.com description: CargoSmart Shipment Tracking API — Containers business capability. Self-contained, no shared references. resources: - name: tracking-v1-containers path: /tracking/v1/containers operations: - name: listcontainertracking method: GET description: Track multiple containers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: containerIds in: query type: string description: Comma-separated list of container numbers required: true - name: billOfLadingNumber in: query type: string description: Filter by bill of lading number - name: bookingNumber in: query type: string description: Filter by booking number - name: tracking-v1-containers-containerId path: /tracking/v1/containers/{containerId} operations: - name: trackcontainer method: GET description: Track container outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: containerId in: path type: string description: Container number (e.g., MSCU1234567) required: true authentication: type: bearer token: '{{env.CARGOSMART_API_KEY}}' exposes: - type: rest namespace: shipment-tracking-containers-rest port: 8080 description: REST adapter for CargoSmart Shipment Tracking API — Containers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tracking/v1/containers name: tracking-v1-containers description: REST surface for tracking-v1-containers. operations: - method: GET name: listcontainertracking description: Track multiple containers call: shipment-tracking-containers.listcontainertracking with: containerIds: rest.containerIds billOfLadingNumber: rest.billOfLadingNumber bookingNumber: rest.bookingNumber outputParameters: - type: object mapping: $. - path: /v1/tracking/v1/containers/{containerid} name: tracking-v1-containers-containerid description: REST surface for tracking-v1-containers-containerId. operations: - method: GET name: trackcontainer description: Track container call: shipment-tracking-containers.trackcontainer with: containerId: rest.containerId outputParameters: - type: object mapping: $. - type: mcp namespace: shipment-tracking-containers-mcp port: 9090 transport: http description: MCP adapter for CargoSmart Shipment Tracking API — Containers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: track-multiple-containers description: Track multiple containers hints: readOnly: true destructive: false idempotent: true call: shipment-tracking-containers.listcontainertracking with: containerIds: tools.containerIds billOfLadingNumber: tools.billOfLadingNumber bookingNumber: tools.bookingNumber outputParameters: - type: object mapping: $. - name: track-container description: Track container hints: readOnly: true destructive: false idempotent: true call: shipment-tracking-containers.trackcontainer with: containerId: tools.containerId outputParameters: - type: object mapping: $.