Zapier · Capability

Partner API — Actions

Partner API — Actions. 5 operations. Lead operation: Zapier Get Actions. Self-contained Naftiko capability covering one Zapier business surface.

Run with Naftiko ZapierActions

What You Can Do

GET
Getactions — Zapier Get Actions
/v1/v2/actions
POST
Getfieldsinputs — Zapier Get Input Fields
/v1/v2/actions/{action-id}/inputs
POST
Getchoices — Zapier Get Choices
/v1/v2/actions/{action-id}/inputs/{input-id}/choices
POST
Getfieldsoutputs — Zapier Get Output Fields
/v1/v2/actions/{action-id}/outputs
POST
Testaction — Zapier Step Test
/v1/v2/actions/{action-id}/test

MCP Tools

zapier-get-actions

Zapier Get Actions

read-only idempotent
zapier-get-input-fields

Zapier Get Input Fields

read-only
zapier-get-choices

Zapier Get Choices

read-only
zapier-get-output-fields

Zapier Get Output Fields

read-only
zapier-step-test

Zapier Step Test

Capability Spec

partner-actions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Partner API — Actions
  description: 'Partner API — Actions. 5 operations. Lead operation: Zapier Get Actions. Self-contained Naftiko capability
    covering one Zapier business surface.'
  tags:
  - Zapier
  - Actions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZAPIER_API_KEY: ZAPIER_API_KEY
capability:
  consumes:
  - type: http
    namespace: partner-actions
    baseUri: https://api.zapier.com
    description: Partner API — Actions business capability. Self-contained, no shared references.
    resources:
    - name: v2-actions
      path: /v2/actions
      operations:
      - name: getactions
        method: GET
        description: Zapier Get Actions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: action_type
          in: query
          type: string
          description: The type of Action to filter for. Defaults to returning all actions regardless of type.
        - name: app
          in: query
          type: string
          description: A canonical App ID, as provided by the `/apps` endpoint.
          required: true
    - name: v2-actions-action_id-inputs
      path: /v2/actions/{action_id}/inputs
      operations:
      - name: getfieldsinputs
        method: POST
        description: Zapier Get Input Fields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: action_id
          in: path
          type: string
          description: An Action ID, as provided by the `/actions` endpoint.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-actions-action_id-inputs-input_id-choices
      path: /v2/actions/{action_id}/inputs/{input_id}/choices
      operations:
      - name: getchoices
        method: POST
        description: Zapier Get Choices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: action_id
          in: path
          type: string
          description: An Action ID, as provided by the `/actions` endpoint.
          required: true
        - name: input_id
          in: path
          type: string
          description: An Input Field ID, as provided by the `/inputs` endpoint.
          required: true
        - name: page
          in: query
          type: string
          description: The page of choices to return, defaults to the first
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-actions-action_id-outputs
      path: /v2/actions/{action_id}/outputs
      operations:
      - name: getfieldsoutputs
        method: POST
        description: Zapier Get Output Fields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: action_id
          in: path
          type: string
          description: An Action ID, as provided by the `/actions` endpoint.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-actions-action_id-test
      path: /v2/actions/{action_id}/test
      operations:
      - name: testaction
        method: POST
        description: Zapier Step Test
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: action_id
          in: path
          type: string
          description: An Action ID, as provided by the `/actions` endpoint.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ZAPIER_API_KEY}}'
  exposes:
  - type: rest
    namespace: partner-actions-rest
    port: 8080
    description: REST adapter for Partner API — Actions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/actions
      name: v2-actions
      description: REST surface for v2-actions.
      operations:
      - method: GET
        name: getactions
        description: Zapier Get Actions
        call: partner-actions.getactions
        with:
          action_type: rest.action_type
          app: rest.app
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/actions/{action-id}/inputs
      name: v2-actions-action-id-inputs
      description: REST surface for v2-actions-action_id-inputs.
      operations:
      - method: POST
        name: getfieldsinputs
        description: Zapier Get Input Fields
        call: partner-actions.getfieldsinputs
        with:
          action_id: rest.action_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/actions/{action-id}/inputs/{input-id}/choices
      name: v2-actions-action-id-inputs-input-id-choices
      description: REST surface for v2-actions-action_id-inputs-input_id-choices.
      operations:
      - method: POST
        name: getchoices
        description: Zapier Get Choices
        call: partner-actions.getchoices
        with:
          action_id: rest.action_id
          input_id: rest.input_id
          page: rest.page
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/actions/{action-id}/outputs
      name: v2-actions-action-id-outputs
      description: REST surface for v2-actions-action_id-outputs.
      operations:
      - method: POST
        name: getfieldsoutputs
        description: Zapier Get Output Fields
        call: partner-actions.getfieldsoutputs
        with:
          action_id: rest.action_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/actions/{action-id}/test
      name: v2-actions-action-id-test
      description: REST surface for v2-actions-action_id-test.
      operations:
      - method: POST
        name: testaction
        description: Zapier Step Test
        call: partner-actions.testaction
        with:
          action_id: rest.action_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: partner-actions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Partner API — Actions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: zapier-get-actions
      description: Zapier Get Actions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: partner-actions.getactions
      with:
        action_type: tools.action_type
        app: tools.app
      outputParameters:
      - type: object
        mapping: $.
    - name: zapier-get-input-fields
      description: Zapier Get Input Fields
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: partner-actions.getfieldsinputs
      with:
        action_id: tools.action_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zapier-get-choices
      description: Zapier Get Choices
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: partner-actions.getchoices
      with:
        action_id: tools.action_id
        input_id: tools.input_id
        page: tools.page
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zapier-get-output-fields
      description: Zapier Get Output Fields
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: partner-actions.getfieldsoutputs
      with:
        action_id: tools.action_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zapier-step-test
      description: Zapier Step Test
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: partner-actions.testaction
      with:
        action_id: tools.action_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.