table_info
Inspect a SQLite table or view to obtain columns, types, constraints, indexes, foreign keys, triggers, DDL, and row count estimates.
Instructions
Get detailed info about a single table or view: columns, types, constraints, indexes, foreign keys, triggers, DDL SQL, and row count estimation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Optional path to SQLite database file. Defaults to configured default database. | |
| table | Yes | Exact name of the table or view to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |