roma__ListDatasourceColumns
Lists all fields in a specified table within a ROMA data source to inspect schema or map columns for integration tasks.
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": {
"datasource_id": "<datasource_id>",
"instance_id": "<instance_id>",
"position": "<position>",
"project_id": "<project_id>"
},
"name": "roma__ListDatasourceColumns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | No | 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源 | |
| position | Yes | 数据源所在任务位置 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| table_name | No | 字段所在的表名 | |
| instance_id | Yes | 实例ID | |
| datasource_id | Yes | 数据源ID |