naftiko: 1.0.0-alpha2 info: label: ClickPost API — Tracking description: 'ClickPost API — Tracking. 2 operations. Lead operation: Register tracking. Self-contained Naftiko capability covering one Clickpost business surface.' tags: - Clickpost - Tracking created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLICKPOST_API_KEY: CLICKPOST_API_KEY capability: consumes: - type: http namespace: clickpost-tracking baseUri: https://www.clickpost.in/api/v1 description: ClickPost API — Tracking business capability. Self-contained, no shared references. resources: - name: tracking-register path: /tracking/register operations: - name: registertracking method: POST description: Register tracking outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: tracking-awb path: /tracking/{awb} operations: - name: gettracking method: GET description: Get tracking status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: awb in: path type: string required: true authentication: type: apikey key: key value: '{{env.CLICKPOST_API_KEY}}' placement: query exposes: - type: rest namespace: clickpost-tracking-rest port: 8080 description: REST adapter for ClickPost API — Tracking. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tracking/register name: tracking-register description: REST surface for tracking-register. operations: - method: POST name: registertracking description: Register tracking call: clickpost-tracking.registertracking with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/tracking/{awb} name: tracking-awb description: REST surface for tracking-awb. operations: - method: GET name: gettracking description: Get tracking status call: clickpost-tracking.gettracking with: awb: rest.awb outputParameters: - type: object mapping: $. - type: mcp namespace: clickpost-tracking-mcp port: 9090 transport: http description: MCP adapter for ClickPost API — Tracking. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: register-tracking description: Register tracking hints: readOnly: false destructive: false idempotent: false call: clickpost-tracking.registertracking with: body: tools.body outputParameters: - type: object mapping: $. - name: get-tracking-status description: Get tracking status hints: readOnly: true destructive: false idempotent: true call: clickpost-tracking.gettracking with: awb: tools.awb outputParameters: - type: object mapping: $.