roma__CreateDatasourceInfo
Creates a ROMA Connect data source for an application by defining its type, name, connection details, and instance/project context.
Instructions
[ROMA] 创建数据源
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": {
"app_id": "<app_id>",
"content": "<content>",
"datasource_name": "<datasource_name>",
"datasource_type": "<datasource_type>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__CreateDatasourceInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | 数据源所属应用ID | |
| content | Yes | 数据源详细信息 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| description | No | 数据源描述 | |
| instance_id | Yes | 实例ID | |
| datasource_name | Yes | 数据源名称,数据源名称不能包含&、<、>、"、'、(、) ,长度为1~255字符 | |
| datasource_type | Yes | 数据源类型 |