list_tables
List tables in a database schema with comments, estimated row counts, and size, and filter by partial table name. Use it to explore large schemas before writing queries.
Instructions
列出某个 schema 下的表,带表注释、估算行数和体积。可用 name_contains 按表名过滤。注意有的 schema 有 600 多张表,建议配合过滤条件使用,或者直接用 search_metadata。
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": {
"schema": "<schema>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回多少张表 | |
| schema | Yes | schema 名,例如 cses_data | |
| name_contains | No | 按表名模糊过滤,不区分大小写 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||