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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_connector"
}
}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 |