WooCommerce · Capability

WooCommerce REST API — Tax Rates

WooCommerce REST API — Tax Rates. 1 operations. Lead operation: WooCommerce List All Tax Rates. Self-contained Naftiko capability covering one Woocommerce business surface.

Run with Naftiko WoocommerceTax Rates

What You Can Do

GET
Listtaxrates — WooCommerce List All Tax Rates
/v1/tax/rates

MCP Tools

woocommerce-list-all-tax-rates

WooCommerce List All Tax Rates

read-only idempotent

Capability Spec

rest-tax-rates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WooCommerce REST API — Tax Rates
  description: 'WooCommerce REST API — Tax Rates. 1 operations. Lead operation: WooCommerce List All Tax Rates. Self-contained
    Naftiko capability covering one Woocommerce business surface.'
  tags:
  - Woocommerce
  - Tax Rates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WOOCOMMERCE_API_KEY: WOOCOMMERCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-tax-rates
    baseUri: https://example.com/wp-json/wc/v3
    description: WooCommerce REST API — Tax Rates business capability. Self-contained, no shared references.
    resources:
    - name: tax-rates
      path: /tax/rates
      operations:
      - name: listtaxrates
        method: GET
        description: WooCommerce List All Tax Rates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: class
          in: query
          type: string
          description: 'Filter tax rates by tax class slug. Options: standard, reduced-rate, zero-rate, or any custom class
            slug.'
    authentication:
      type: basic
      username: '{{env.WOOCOMMERCE_USER}}'
      password: '{{env.WOOCOMMERCE_PASS}}'
  exposes:
  - type: rest
    namespace: rest-tax-rates-rest
    port: 8080
    description: REST adapter for WooCommerce REST API — Tax Rates. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tax/rates
      name: tax-rates
      description: REST surface for tax-rates.
      operations:
      - method: GET
        name: listtaxrates
        description: WooCommerce List All Tax Rates
        call: rest-tax-rates.listtaxrates
        with:
          class: rest.class
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-tax-rates-mcp
    port: 9090
    transport: http
    description: MCP adapter for WooCommerce REST API — Tax Rates. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: woocommerce-list-all-tax-rates
      description: WooCommerce List All Tax Rates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-tax-rates.listtaxrates
      with:
        class: tools.class
      outputParameters:
      - type: object
        mapping: $.