freshworks · Capability

Freshworks Freshservice API — Vendors

Freshworks Freshservice API — Vendors. 2 operations. Lead operation: List all vendors. Self-contained Naftiko capability covering one Freshworks business surface.

Run with Naftiko FreshworksVendors

What You Can Do

GET
Listvendors — List all vendors
/v1/vendors
POST
Createvendor — Create a vendor
/v1/vendors

MCP Tools

list-all-vendors

List all vendors

read-only idempotent
create-vendor

Create a vendor

Capability Spec

freshservice-vendors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Freshworks Freshservice API — Vendors
  description: 'Freshworks Freshservice API — Vendors. 2 operations. Lead operation: List all vendors. Self-contained Naftiko
    capability covering one Freshworks business surface.'
  tags:
  - Freshworks
  - Vendors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRESHWORKS_API_KEY: FRESHWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: freshservice-vendors
    baseUri: https://{domain}.freshservice.com/api/v2
    description: Freshworks Freshservice API — Vendors business capability. Self-contained, no shared references.
    resources:
    - name: vendors
      path: /vendors
      operations:
      - name: listvendors
        method: GET
        description: List all vendors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createvendor
        method: POST
        description: Create a vendor
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.FRESHWORKS_USER}}'
      password: '{{env.FRESHWORKS_PASS}}'
  exposes:
  - type: rest
    namespace: freshservice-vendors-rest
    port: 8080
    description: REST adapter for Freshworks Freshservice API — Vendors. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/vendors
      name: vendors
      description: REST surface for vendors.
      operations:
      - method: GET
        name: listvendors
        description: List all vendors
        call: freshservice-vendors.listvendors
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createvendor
        description: Create a vendor
        call: freshservice-vendors.createvendor
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: freshservice-vendors-mcp
    port: 9090
    transport: http
    description: MCP adapter for Freshworks Freshservice API — Vendors. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-vendors
      description: List all vendors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshservice-vendors.listvendors
      outputParameters:
      - type: object
        mapping: $.
    - name: create-vendor
      description: Create a vendor
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: freshservice-vendors.createvendor
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.