describe_table
Inspect a table’s columns, types, nullability, defaults, comments, keys, foreign keys, and indexes to understand its structure before querying or modifying data.
Instructions
Show a table's columns (type, nullability, default, comment), keys, foreign keys and indexes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name, optionally qualified as SCHEMA.TABLE. | |
| schema | No | Schema (owner). Defaults to the connected user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||