List Columns
list_columnsLists columns of a table or view with their data types and comments. Uses the current database and schema if not specified.
Instructions
List all columns of a table or view with their types and comments. If database/schema are not specified, uses the current database/schema.
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": "list_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name | |
| schema | No | Schema name (defaults to current schema) | |
| database | No | Database name (defaults to current database) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |