ch_describe_table
Retrieve the schema of a ClickHouse table, including columns, data types, and comments, by specifying the table and optional database.
Instructions
Show the schema (columns, types, comments) of a ClickHouse table.
Args: table: Table name. database: Database name. If omitted, uses the default database.
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": "ch_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |