doris_inspect_external_catalog
Lists databases in a catalog or tables in a specified database, letting you inspect external catalog metadata before running read-only SQL queries.
Instructions
浏览 catalog:只传 catalog 时列库(SHOW DATABASES FROM c); 带 database 时列表(SHOW TABLES FROM c.db)。
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": {
"catalog": "<catalog>"
},
"name": "doris_inspect_external_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalog | Yes | catalog 名,如 internal 或 hive | |
| database | No | 可选,库名;不传则列出该 catalog 下的库 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |