list_tables
Lists tables in a database, optionally filtered by name pattern, showing row counts and stale-statistics verdicts from a dbprint snapshot without a live database connection.
Instructions
List a connection's tables, optionally narrowed by an fnmatch pattern over the dotted names. Use it to see which tables exist, their row counts, and whether each table's statistics are stale: detail: true adds each table's type, row_count, columns and profiled_at, and a freshness verdict - live, stale, or dormant when profiled_at is unreadable - with its age_days and the max_age_days it is judged against. A table whose threshold cannot be resolved carries threshold_error instead of a verdict. To find columns rather than tables, use search_columns; for the print's raw table index, get_manifest. Paged: every reply carries the total matched, and next_cursor while more remain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | `next_cursor` from this call's previous page; omit for the first page | |
| detail | No | Project each entry's type/row_count/columns/profiled_at from the print's index plus its freshness verdict; false returns bare FQN strings, unchanged | |
| pattern | No | fnmatch glob over dotted table names, e.g. 'sales.*'; defaults to '*' | |
| connection | No | Which database to read, by connection name; needed only when the server serves several, and the error for a missing one lists them. Omit it for the server's default |