describe_table
Inspect columns of a PostgreSQL table or view in the public schema, returning column metadata as a JSON array for schema checks.
Instructions
Describe the columns of a table or view in the public schema.
Args: table_name: Name of the table or view.
Returns: Column metadata as a JSON array of objects.
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": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |