describe_table
Retrieve a table's column names, data types, nullability, defaults, and comments before writing SELECT, INSERT, or UPDATE on unverified tables to avoid guessed column names.
Instructions
Describe the columns of a table: name, data type, nullability, default value and comment. ALWAYS call this before writing a SELECT/INSERT/UPDATE against an unverified table, so column names and types are known rather than invented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. |