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