doris_list_databases
Lists Doris databases with paging support via limit and offset, returning total counts and next-page offsets so you can browse catalogs easily.
Instructions
列出数据库,分页返回。
internal:走 information_schema.schemata(1.2 的 SHOW DATABASES 不支持 LIMIT,
这里在服务端分页);指定其他 catalog 时用 SHOW DATABASES FROM,取回后本地切页。
返回:{ok, total, count, offset, limit, items[{name}], has_more, next_offset, source}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doris_list_databases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 本页返回条数 | |
| offset | No | 跳过条数,用于翻页 | |
| catalog | No | 可选,catalog 名;默认当前 catalog(internal) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |