freshworks · Capability

Freshworks Freshdesk API — Products

Freshworks Freshdesk API — Products. 2 operations. Lead operation: List all products. Self-contained Naftiko capability covering one Freshworks business surface.

Run with Naftiko FreshworksProducts

What You Can Do

GET
Listproducts — List all products
/v1/products
GET
Getproduct — View a product
/v1/products/{product-id}

MCP Tools

list-all-products

List all products

read-only idempotent
view-product

View a product

read-only idempotent

Capability Spec

freshdesk-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Freshworks Freshdesk API — Products
  description: 'Freshworks Freshdesk API — Products. 2 operations. Lead operation: List all products. Self-contained Naftiko
    capability covering one Freshworks business surface.'
  tags:
  - Freshworks
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRESHWORKS_API_KEY: FRESHWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: freshdesk-products
    baseUri: https://{domain}.freshdesk.com/api/v2
    description: Freshworks Freshdesk API — Products business capability. Self-contained, no shared references.
    resources:
    - name: products
      path: /products
      operations:
      - name: listproducts
        method: GET
        description: List all products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: products-product_id
      path: /products/{product_id}
      operations:
      - name: getproduct
        method: GET
        description: View a product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: product_id
          in: path
          type: integer
          description: The ID of the product to retrieve.
          required: true
    authentication:
      type: basic
      username: '{{env.FRESHWORKS_USER}}'
      password: '{{env.FRESHWORKS_PASS}}'
  exposes:
  - type: rest
    namespace: freshdesk-products-rest
    port: 8080
    description: REST adapter for Freshworks Freshdesk 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: List all products
        call: freshdesk-products.listproducts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/products/{product-id}
      name: products-product-id
      description: REST surface for products-product_id.
      operations:
      - method: GET
        name: getproduct
        description: View a product
        call: freshdesk-products.getproduct
        with:
          product_id: rest.product_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: freshdesk-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Freshworks Freshdesk API — Products. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-products
      description: List all products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshdesk-products.listproducts
      outputParameters:
      - type: object
        mapping: $.
    - name: view-product
      description: View a product
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshdesk-products.getproduct
      with:
        product_id: tools.product_id
      outputParameters:
      - type: object
        mapping: $.