describe_table
Inspect a SQLite table or view to retrieve schema details: columns, primary keys, foreign keys, and indexes, optionally from a specified database file.
Instructions
Get detailed schema information for a specific table or view, including columns, primary keys, foreign keys, and indexes.
Args: table_name: The name of the table or view to inspect. db_path: Optional path to SQLite file. If omitted, uses default database path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||