get_table_schema
Retrieve table schema details for any table in a connected SQL database, including columns and indexes, to understand its structure.
Instructions
Get schema information for a specific table
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": {
"connectionId": "<connectionId>",
"tableName": "<tableName>"
},
"name": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | The name of the table to describe | |
| connectionId | Yes | The ID or name of the database connection | |
| includeIndexes | No | Include index information |