Airbyte · Capability

airbyte-api — SourceDefinitions

airbyte-api — SourceDefinitions. 5 operations. Lead operation: Airbyte List Source Definitions.. Self-contained Naftiko capability covering one Airbyte business surface.

Run with Naftiko AirbyteSourceDefinitions

What You Can Do

GET
Listsourcedefinitions — Airbyte List Source Definitions.
/v1/workspaces/{workspaceid}/definitions/sources
POST
Createsourcedefinition — Airbyte Create a Source Definition.
/v1/workspaces/{workspaceid}/definitions/sources
GET
Getsourcedefinition — Airbyte Get Source Definition Details.
/v1/workspaces/{workspaceid}/definitions/sources/{definitionid}
PUT
Updatesourcedefinition — Airbyte Update Source Definition Details.
/v1/workspaces/{workspaceid}/definitions/sources/{definitionid}
DELETE
Deletesourcedefinition — Airbyte Delete a Source Definition.
/v1/workspaces/{workspaceid}/definitions/sources/{definitionid}

MCP Tools

airbyte-list-source-definitions

Airbyte List Source Definitions.

read-only idempotent
airbyte-create-source-definition

Airbyte Create a Source Definition.

airbyte-get-source-definition-details

Airbyte Get Source Definition Details.

read-only idempotent
airbyte-update-source-definition-details

Airbyte Update Source Definition Details.

idempotent
airbyte-delete-source-definition

Airbyte Delete a Source Definition.

idempotent

Capability Spec

airbyte-sourcedefinitions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: airbyte-api — SourceDefinitions
  description: 'airbyte-api — SourceDefinitions. 5 operations. Lead operation: Airbyte List Source Definitions.. Self-contained
    Naftiko capability covering one Airbyte business surface.'
  tags:
  - Airbyte
  - SourceDefinitions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AIRBYTE_API_KEY: AIRBYTE_API_KEY
capability:
  consumes:
  - type: http
    namespace: airbyte-sourcedefinitions
    baseUri: https://api.airbyte.com/v1
    description: airbyte-api — SourceDefinitions business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-workspaceId-definitions-sources
      path: /workspaces/{workspaceId}/definitions/sources
      operations:
      - name: listsourcedefinitions
        method: GET
        description: Airbyte List Source Definitions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsourcedefinition
        method: POST
        description: Airbyte Create a Source Definition.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: workspaces-workspaceId-definitions-sources-definitionId
      path: /workspaces/{workspaceId}/definitions/sources/{definitionId}
      operations:
      - name: getsourcedefinition
        method: GET
        description: Airbyte Get Source Definition Details.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatesourcedefinition
        method: PUT
        description: Airbyte Update Source Definition Details.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesourcedefinition
        method: DELETE
        description: Airbyte Delete a Source Definition.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: airbyte-sourcedefinitions-rest
    port: 8080
    description: REST adapter for airbyte-api — SourceDefinitions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/workspaces/{workspaceid}/definitions/sources
      name: workspaces-workspaceid-definitions-sources
      description: REST surface for workspaces-workspaceId-definitions-sources.
      operations:
      - method: GET
        name: listsourcedefinitions
        description: Airbyte List Source Definitions.
        call: airbyte-sourcedefinitions.listsourcedefinitions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsourcedefinition
        description: Airbyte Create a Source Definition.
        call: airbyte-sourcedefinitions.createsourcedefinition
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspaceid}/definitions/sources/{definitionid}
      name: workspaces-workspaceid-definitions-sources-definitionid
      description: REST surface for workspaces-workspaceId-definitions-sources-definitionId.
      operations:
      - method: GET
        name: getsourcedefinition
        description: Airbyte Get Source Definition Details.
        call: airbyte-sourcedefinitions.getsourcedefinition
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesourcedefinition
        description: Airbyte Update Source Definition Details.
        call: airbyte-sourcedefinitions.updatesourcedefinition
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesourcedefinition
        description: Airbyte Delete a Source Definition.
        call: airbyte-sourcedefinitions.deletesourcedefinition
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: airbyte-sourcedefinitions-mcp
    port: 9090
    transport: http
    description: MCP adapter for airbyte-api — SourceDefinitions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: airbyte-list-source-definitions
      description: Airbyte List Source Definitions.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: airbyte-sourcedefinitions.listsourcedefinitions
      outputParameters:
      - type: object
        mapping: $.
    - name: airbyte-create-source-definition
      description: Airbyte Create a Source Definition.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: airbyte-sourcedefinitions.createsourcedefinition
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: airbyte-get-source-definition-details
      description: Airbyte Get Source Definition Details.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: airbyte-sourcedefinitions.getsourcedefinition
      outputParameters:
      - type: object
        mapping: $.
    - name: airbyte-update-source-definition-details
      description: Airbyte Update Source Definition Details.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: airbyte-sourcedefinitions.updatesourcedefinition
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: airbyte-delete-source-definition
      description: Airbyte Delete a Source Definition.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: airbyte-sourcedefinitions.deletesourcedefinition
      outputParameters:
      - type: object
        mapping: $.