get_table_schema
Retrieve column definitions including name, type, nullable, and primary key status to understand table structure and identify key columns for analysis.
Instructions
Get column definitions (name, type, nullable, primary key). USE: To understand table structure, find numeric columns for aggregates, or find primary keys for sample checks.
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": {
"datasource_name": "<datasource_name>",
"database": "<database>",
"table": "<table>"
},
"name": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasource_name | Yes | ||
| database | Yes | ||
| table | Yes | ||
| schema | No |