airbyte_create_connection
Creates a connection linking a source to a destination, specifying streams to sync, schedule, and sync modes.
Instructions
Create a new connection (source-to-destination pipeline).
A connection links a source to a destination and defines which streams to sync, the schedule, namespace mapping, and sync modes.
When to Use: - Wire up a new data pipeline between an existing source and destination. - Automate pipeline provisioning.
Recommended Workflow: 1. Ensure the source and destination already exist (or create them with airbyte_create_source / airbyte_create_destination). 2. Call airbyte_get_stream_properties with the sourceId (and optionally destinationId) to discover available streams and their supported sync modes. 3. Build the configurations.streams array and call this tool.
Returns: The created connection details including connectionId.
Examples: Minimal connection: params = { "source_id": "...", "destination_id": "...", "name": "Prod Postgres -> BigQuery" } With schedule and streams: params = { "source_id": "...", "destination_id": "...", "name": "Hourly Sync", "schedule": { "scheduleType": "cron", "cronExpression": "0 * * * *" }, "configurations": { "streams": [ { "name": "users", "syncMode": "incremental_append" }, { "name": "orders", "syncMode": "full_refresh_overwrite" } ] }, "status": "active" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |