list_objects
Retrieve a list of objects, such as tables, views, sequences, or extensions, within a specified schema using this tool. Streamline schema exploration and data management for Postgres MCP workflows.
Instructions
List objects in a schema
Input Schema
Name | Required | Description | Default |
---|---|---|---|
object_type | No | Object type: 'table', 'view', 'sequence', or 'extension' | table |
schema_name | Yes | Schema name |
Input Schema (JSON Schema)
{
"properties": {
"object_type": {
"default": "table",
"description": "Object type: 'table', 'view', 'sequence', or 'extension'",
"title": "Object Type",
"type": "string"
},
"schema_name": {
"description": "Schema name",
"title": "Schema Name",
"type": "string"
}
},
"required": [
"schema_name"
],
"title": "list_objectsArguments",
"type": "object"
}