schema_list_columns
Retrieve columns for all tables or a specific table in a Postgres schema, aiding database schema inspection.
Instructions
List columns for tables in the schema. Optionally restrict to one table.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "schema_list_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | No | ||
| schema_name | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |