get_object_details
List columns, constraints, indexes, and comments for a specific PostgreSQL database object using schema and object name.
Instructions
Show columns, constraints, indexes, and comments for a database object
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 |
|---|---|---|---|
| object_name | Yes | Object name | |
| object_type | No | table, view, sequence, or extension | table |
| schema_name | Yes | Schema name |