get_object_details
Retrieve columns and indexes for any table, view, sequence, or extension in a PostgreSQL database. Specify schema and object name to get its structural details.
Instructions
Columns and indexes for a table/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 |
|---|---|---|---|
| db | No | Database id from list_databases | |
| object_name | Yes | ||
| object_type | No | table | |
| schema_name | Yes |