get_object_details
Retrieve columns, constraints, and indexes for any PostgreSQL table or view. Specify schema and object name.
Instructions
Get columns, constraints, and indexes for a table or view.
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": {
"schema_name": "<schema_name>",
"object_name": "<object_name>"
},
"name": "get_object_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database alias to query. Omit to use the primary database. | |
| object_name | Yes | Table, view, sequence, or extension name | |
| object_type | No | table | |
| schema_name | Yes | Schema name |