list_objects
List database objects (tables, views, sequences, extensions) in a specified Postgres schema. Provide a schema name to get an inventory of objects, optionally filtered by type for targeted discovery.
Instructions
List objects in a schema
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>"
},
"name": "list_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional. Alias of the configured database to query. Omit it when the server has only one database configured. When several are configured this parameter is required - call list_databases first to learn the valid aliases. | |
| object_type | No | Object type: 'table', 'view', 'sequence', or 'extension' | table |
| schema_name | Yes | Schema name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |