inspect_table
Retrieve the full structural layout of a database table, including column names, data types, nullability, primary keys, and foreign key relationships, without accessing row data.
Instructions
Exposes exact column names, types, nullability, primary keys, and foreign key relationships. Strictly constrained to structural layouts. Does not reveal data rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. Use compact to reduce LLM token usage; markdown for human-readable output. | compact |
| schema | No | Optional schema/catalog namespace. Overrides DATABASE_SCHEMA only outside production. | |
| table_name | Yes | The exact case-sensitive name of the table to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |