describe_table
Retrieve comprehensive schema details, column definitions, and metadata for a specified table in CockroachDB, enabling precise query formulation and data manipulation.
Instructions
Provide detailed schema information, column definitions, data types, and other metadata for a specified table. This allows the AI to accurately interpret table structures and formulate precise queries or data manipulation commands.
Args: table_name (str): Name of the table. db_schema (str): Schema name (default: "public").
Returns: Table details including columns, constraints, indexes, and metadata.
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_name": "<table_name>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_schema | No | public | |
| table_name | Yes |