get_table_info
Retrieve a table's columns, data types, and row count to quickly understand its structure in any connected database.
Instructions
Get detailed information about a table: columns, types, row count.
Args: table: Table name. database: Name of the database within the connection (optional). connection_name: Name of the database connection (default: "default").
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": "get_table_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No | ||
| connection_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |