naftiko: 1.0.0-alpha2 info: label: Knit Unified API — Locations description: 'Knit Unified API — Locations. 1 operations. Lead operation: List Locations. Self-contained Naftiko capability covering one Knit business surface.' tags: - Knit - Locations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KNIT_API_KEY: KNIT_API_KEY capability: consumes: - type: http namespace: unified-locations baseUri: https://api.getknit.dev/v1 description: Knit Unified API — Locations business capability. Self-contained, no shared references. resources: - name: locations path: /locations operations: - name: listlocations method: GET description: List Locations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integration_id in: query type: string authentication: type: apikey key: Authorization value: '{{env.KNIT_API_KEY}}' placement: header exposes: - type: rest namespace: unified-locations-rest port: 8080 description: REST adapter for Knit Unified API — Locations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/locations name: locations description: REST surface for locations. operations: - method: GET name: listlocations description: List Locations call: unified-locations.listlocations with: integration_id: rest.integration_id outputParameters: - type: object mapping: $. - type: mcp namespace: unified-locations-mcp port: 9090 transport: http description: MCP adapter for Knit Unified API — Locations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-locations description: List Locations hints: readOnly: true destructive: false idempotent: true call: unified-locations.listlocations with: integration_id: tools.integration_id outputParameters: - type: object mapping: $.