naftiko: 1.0.0-alpha2 info: label: 3M Partner and Supplier API — Products description: '3M Partner and Supplier API — Products. 2 operations. Lead operation: 3M List Products. Self-contained Naftiko capability covering one 3m business surface.' tags: - 3m - Products created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: 3M_API_KEY: 3M_API_KEY capability: consumes: - type: http namespace: partner-supplier-products baseUri: https://api.3m.com description: 3M Partner and Supplier API — Products business capability. Self-contained, no shared references. resources: - name: products path: /products operations: - name: listproducts method: GET description: 3M List Products outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: category in: query type: string description: Filter products by product category. - name: sku in: query type: string description: Filter by specific product SKU. - name: products-productId-price path: /products/{productId}/price operations: - name: getproductprice method: GET description: 3M Get Product Price outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: productId in: path type: string description: The unique product identifier. required: true authentication: type: bearer token: '{{env.3M_API_KEY}}' exposes: - type: rest namespace: partner-supplier-products-rest port: 8080 description: REST adapter for 3M Partner and Supplier API — Products. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/products name: products description: REST surface for products. operations: - method: GET name: listproducts description: 3M List Products call: partner-supplier-products.listproducts with: category: rest.category sku: rest.sku outputParameters: - type: object mapping: $. - path: /v1/products/{productid}/price name: products-productid-price description: REST surface for products-productId-price. operations: - method: GET name: getproductprice description: 3M Get Product Price call: partner-supplier-products.getproductprice with: productId: rest.productId outputParameters: - type: object mapping: $. - type: mcp namespace: partner-supplier-products-mcp port: 9090 transport: http description: MCP adapter for 3M Partner and Supplier API — Products. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: 3m-list-products description: 3M List Products hints: readOnly: true destructive: false idempotent: true call: partner-supplier-products.listproducts with: category: tools.category sku: tools.sku outputParameters: - type: object mapping: $. - name: 3m-get-product-price description: 3M Get Product Price hints: readOnly: true destructive: false idempotent: true call: partner-supplier-products.getproductprice with: productId: tools.productId outputParameters: - type: object mapping: $.