get_table_schema
Retrieve column names and data types for a specified table to understand its structure before querying.
Instructions
Retrieves the schema (column names and types) for a specific table.
Args: table_name_input: Object containing the table_name.
Returns: Dict[str, Any]: Dictionary describing the schema or an error message.
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": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the SQL table. |