List Tables
list_tablesShow all tables and views with their comments from a specified or current database. Filter by schema to explore MotherDuck or DuckDB data.
Instructions
List all tables and views in a database with their comments. If database is not specified, uses the current database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Optional schema name to filter by | |
| database | No | Database name to list tables from (defaults to current database) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |