roma__ListDatasourceTables
Lists all tables in a specified ROMA data source, with optional fuzzy table-name filtering to locate tables within a database or schema.
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__ListDatasourceTables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | 表名模糊匹配过滤器 | |
| db_name | No | 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源 | |
| position | Yes | 数据源所在任务位置 | |
| db_schema | No | 数据库模式,GAUSS100数据库使用 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID | |
| datasource_id | Yes | 数据源ID |