dataartsinsight__CreateDataConnection
Create a data connection in DataArts Insight for sources such as MySQL, DWS, DLI, or API, enabling analytics access to your database.
Instructions
[DATAARTSINSIGHT] 数据源新增
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": {
"config": "<config>",
"database_name": "<database_name>",
"name": "<name>",
"project_id": "<project_id>",
"source": "<source>",
"type": "<type>"
},
"name": "dataartsinsight__CreateDataConnection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 域名,非集群数据源必填,如mysql | |
| name | Yes | 数据源名称 | |
| port | No | 端口 | |
| type | Yes | 数据源类型;MYSQL,POSTGRESQL,DWS,OPENGAUSS,DLI,CLICKHOUSE,API,DORIS | |
| config | Yes | 配置参数 | |
| source | Yes | 数据源来源:rds,dws,mrs,gaussdb,public,restapi,dli | |
| cluster | No | 云实例接入方式时必填 | |
| password | No | 密码 | |
| region_id | No | 当前region的ID | |
| user_name | No | 用户名 | |
| project_id | Yes | 项目ID | |
| description | No | 数据源描述信息 | |
| server_list | No | 集群模式(多实例)必填,如DWS,ClickHouse | |
| database_name | Yes | 数据库名 |