PagerDuty · Capability

PagerDuty API — Vendors

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

Run with Naftiko PagerdutyVendors

What You Can Do

GET
Listvendors — PagerDuty List vendors
/v1/vendors
GET
Getvendor — PagerDuty Get a vendor
/v1/vendors/{id}

MCP Tools

pagerduty-list-vendors

PagerDuty List vendors

read-only idempotent
pagerduty-get-vendor

PagerDuty Get a vendor

read-only idempotent

Capability Spec

pagerduty-vendors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PagerDuty API — Vendors
  description: 'PagerDuty API — Vendors. 2 operations. Lead operation: PagerDuty List vendors. Self-contained Naftiko capability
    covering one Pagerduty business surface.'
  tags:
  - Pagerduty
  - Vendors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PAGERDUTY_API_KEY: PAGERDUTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: pagerduty-vendors
    baseUri: https://api.pagerduty.com
    description: PagerDuty API — Vendors business capability. Self-contained, no shared references.
    resources:
    - name: vendors
      path: /vendors
      operations:
      - name: listvendors
        method: GET
        description: PagerDuty List vendors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: vendors-id
      path: /vendors/{id}
      operations:
      - name: getvendor
        method: GET
        description: PagerDuty Get a vendor
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PAGERDUTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pagerduty-vendors-rest
    port: 8080
    description: REST adapter for PagerDuty 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: PagerDuty List vendors
        call: pagerduty-vendors.listvendors
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/vendors/{id}
      name: vendors-id
      description: REST surface for vendors-id.
      operations:
      - method: GET
        name: getvendor
        description: PagerDuty Get a vendor
        call: pagerduty-vendors.getvendor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pagerduty-vendors-mcp
    port: 9090
    transport: http
    description: MCP adapter for PagerDuty API — Vendors. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: pagerduty-list-vendors
      description: PagerDuty List vendors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pagerduty-vendors.listvendors
      outputParameters:
      - type: object
        mapping: $.
    - name: pagerduty-get-vendor
      description: PagerDuty Get a vendor
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pagerduty-vendors.getvendor
      outputParameters:
      - type: object
        mapping: $.