add_datasource
Register a new MySQL or Snowflake database connection to enable data reconciliation tasks. After adding, verify the connection using test_datasource.
Instructions
Register a new database connection (MySQL or Snowflake). AFTER USING: Always call test_datasource to verify the connection works. MySQL config: {host, port, username, password, database}. Snowflake config: {account, username, password, warehouse, database, schema}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>",
"connection_config": "<connection_config>"
},
"name": "add_datasource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique name for this data source (e.g., 'mysql_prod', 'snowflake_dw') | |
| type | Yes | Database type | |
| connection_config | Yes | Connection configuration object |