get_table_schema
Retrieve column definitions for a specific table using the table name and optional schema. Supports PostgreSQL, MySQL, and SQLite.
Instructions
Get the schema (column definitions) 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": {
"table_name": "<table_name>"
},
"name": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Database schema name (default: None, uses default schema for the database) | |
| table_name | Yes | Name of the table |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |