table_schema
Get the schema (columns) of a specific data table.
Returns column metadata including name, PostgreSQL type, nullability, default expression, and ordinal position. It also lists uniqueColumns (the column sets with a unique rule); ON CONFLICT works only on those. Useful for understanding table structure before writing queries.
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": {
"tableId": "<tableId>"
},
"name": "table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableId | Yes | The data table ID (from table_list) |