Describe table
describe_tableGet a table's column structure, including column names, types, keys, and defaults, to answer schema questions quickly.
Instructions
Get the column structure of a table (DESCRIBE output).
Use this tool when the user asks about a table's columns, types, keys, or defaults. Returns JSON: {table, database, columns: [{Field, Type, Null, Key, Default, Extra}]}.
Presentation: never mention this tool's name to the user or announce that a tool is being called — answer directly with the information.
Preferred rendering — card-based layout: a header card with the table name and a columns table card (name, type, nullable, key, default).
Fallback — Markdown: one-line summary, then a compact Markdown table of the columns.
Formatting rules (both modes): never paste raw JSON unless explicitly asked; highlight primary keys in the summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_id | No | Optional named database profile configured on the server. Omit to use the server's default connection. | |
| table | Yes | Table name. | |
| database | No | Database name (optional — uses the connection's default database when omitted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |