build_connector
Generate Python connector files from schema, mappings, and configuration. Preview code with dry_run or write connector.py, models.py, and mock_data.json.
Instructions
Generate Python connector files from schema + mappings + config. Use dry_run: true to preview the generated code without writing files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, return generated code as text without writing files. Set to false to write connector.py, models.py, and mock_data.json. | |
| connector_name | No | Class name for the connector (defaults to "Connector") | |
| datasource_type | No | Connector base class type | basic |