List tables
list_tablesFind tables and views in the discovered schema, returning qualified names, kind, primary keys, approximate row counts, and column counts so you can choose one to inspect.
Instructions
Find tables and views in the discovered schema before choosing one to inspect. Returns qualified names, kind, primary keys, approximate row counts, and column counts. Use describe_table for column details or get_database_overview for totals.
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_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Alias from list_connections. Omit only when exactly one database is open. | |
| pattern | No | Case-insensitive glob on the qualified name, e.g. public.sales_*. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||