describe_table
Retrieve detailed schema information for a specific PostgreSQL table, including column names, data types, and constraints, to understand and explore database structure.
Instructions
Get detailed schema information for a specific table
Input Schema
Name | Required | Description | Default |
---|---|---|---|
schema | No | Schema name (default: public) | public |
table_name | Yes | Name of the table to describe |
Input Schema (JSON Schema)
{
"properties": {
"schema": {
"default": "public",
"description": "Schema name (default: public)",
"type": "string"
},
"table_name": {
"description": "Name of the table to describe",
"type": "string"
}
},
"required": [
"table_name"
],
"type": "object"
}