describe_table
Retrieve a table's columns, types, nullability, keys, defaults, indexes, and foreign keys in both directions to map relationships and write accurate JOINs.
Instructions
Describe one table: columns (type, nullability, key, default, comment), indexes, and foreign keys in BOTH directions (what it references, and what references it). Use the foreign keys to work out JOINs.
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 | ||
| schema | No | ||
| profile | No | ||
| database | No |