naftiko: 1.0.0-alpha2 info: label: WooCommerce Store API — Product Attributes description: 'WooCommerce Store API — Product Attributes. 4 operations. Lead operation: WooCommerce List Product Attributes. Self-contained Naftiko capability covering one Woocommerce business surface.' tags: - Woocommerce - Product Attributes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WOOCOMMERCE_API_KEY: WOOCOMMERCE_API_KEY capability: consumes: - type: http namespace: store-product-attributes baseUri: https://example.com/wp-json/wc/store/v1 description: WooCommerce Store API — Product Attributes business capability. Self-contained, no shared references. resources: - name: products-attributes path: /products/attributes operations: - name: liststoreproductattributes method: GET description: WooCommerce List Product Attributes outputRawFormat: json outputParameters: - name: result type: object value: $. - name: products-attributes-id path: /products/attributes/{id} operations: - name: getstoreproductattribute method: GET description: WooCommerce Retrieve a Product Attribute outputRawFormat: json outputParameters: - name: result type: object value: $. - name: products-attributes-id-terms path: /products/attributes/{id}/terms operations: - name: liststoreproductattributeterms method: GET description: WooCommerce List Product Attribute Terms outputRawFormat: json outputParameters: - name: result type: object value: $. - name: products-brands path: /products/brands operations: - name: liststoreproductbrands method: GET description: WooCommerce List Product Brands outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: store-product-attributes-rest port: 8080 description: REST adapter for WooCommerce Store API — Product Attributes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/products/attributes name: products-attributes description: REST surface for products-attributes. operations: - method: GET name: liststoreproductattributes description: WooCommerce List Product Attributes call: store-product-attributes.liststoreproductattributes outputParameters: - type: object mapping: $. - path: /v1/products/attributes/{id} name: products-attributes-id description: REST surface for products-attributes-id. operations: - method: GET name: getstoreproductattribute description: WooCommerce Retrieve a Product Attribute call: store-product-attributes.getstoreproductattribute outputParameters: - type: object mapping: $. - path: /v1/products/attributes/{id}/terms name: products-attributes-id-terms description: REST surface for products-attributes-id-terms. operations: - method: GET name: liststoreproductattributeterms description: WooCommerce List Product Attribute Terms call: store-product-attributes.liststoreproductattributeterms outputParameters: - type: object mapping: $. - path: /v1/products/brands name: products-brands description: REST surface for products-brands. operations: - method: GET name: liststoreproductbrands description: WooCommerce List Product Brands call: store-product-attributes.liststoreproductbrands outputParameters: - type: object mapping: $. - type: mcp namespace: store-product-attributes-mcp port: 9090 transport: http description: MCP adapter for WooCommerce Store API — Product Attributes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: woocommerce-list-product-attributes description: WooCommerce List Product Attributes hints: readOnly: true destructive: false idempotent: true call: store-product-attributes.liststoreproductattributes outputParameters: - type: object mapping: $. - name: woocommerce-retrieve-product-attribute description: WooCommerce Retrieve a Product Attribute hints: readOnly: true destructive: false idempotent: true call: store-product-attributes.getstoreproductattribute outputParameters: - type: object mapping: $. - name: woocommerce-list-product-attribute-terms description: WooCommerce List Product Attribute Terms hints: readOnly: true destructive: false idempotent: true call: store-product-attributes.liststoreproductattributeterms outputParameters: - type: object mapping: $. - name: woocommerce-list-product-brands description: WooCommerce List Product Brands hints: readOnly: true destructive: false idempotent: true call: store-product-attributes.liststoreproductbrands outputParameters: - type: object mapping: $.