schema_list_tables
List tables and views with comments in a database schema. Filter by wildcard pattern, route to a specific database alias, and optionally include foreign-key relationships.
Instructions
获取指定模式下的数据表/视图清单与表注释。支持多数据库路由(通过 db 参数指定连接别名,缺省时路由至默认库);支持基于通配符(如 user_*)的 pattern 内存过滤;默认不加载外键以保障大库极速响应,显式指定 include_foreign_keys=True 时聚合全库外键拓扑。
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": "schema_list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| schema | No | ||
| pattern | No | ||
| include_views | No | ||
| include_foreign_keys | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||