list_schemas
List GaussDB schemas with object counts and comments, excluding system schemas by default, to identify business schemas before inspecting tables. Set include_system to true to include pg_catalog.
Instructions
列出 GaussDB 数据库中的 schema(模式)清单,含每个模式下的对象数量与注释,默认排除系统模式。适用场景:探查数据库的第一步——先确定业务模式名称,再用 list_tables 查看其中的表。include_system 为 true 时包含 pg_catalog、information_schema 等系统模式(一般仅在排查系统对象时需要)。
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": "list_schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | 数据源名称,省略时使用默认实例。可选实例:demo(默认) | |
| include_system | No | 是否包含系统模式(pg_catalog 等),默认 false |