roma__ListDatasources
Query and list ROMA Connect datasources for an instance and project, filtering by name, type, app, or connector with pagination and sorting.
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__ListDatasources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 数据源名称,支持模糊匹配 | |
| limit | No | 每页显示条目数量,最大数量999,超过999后只返回999 | |
| app_id | No | 集成应用ID | |
| offset | No | 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 | |
| sort_type | No | 查询数据源排序的类型,增序还是降序,可为空 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| sort_field | No | 排序字段(CREATED_DATE) | |
| instance_id | Yes | 实例ID | |
| datasource_type | No | 数据源类型 | |
| custom_plugin_id | No | 连接器ID |