list_objects
List tables, views, sequences, extensions, or materialized views in a PostgreSQL schema. Filter by name and optionally target a different server or database.
Instructions
List tables, views, materialized views, sequences, or extensions in a schema. Requires active connection. Optionally use server/database/targetSchema params for one-time execution on a different server.
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": "<schema>"
},
"name": "list_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name to list objects from (e.g., 'public') | |
| objectType | No | Type of objects to list | all |
| filter | No | Filter objects by name (case-insensitive partial match) | |
| server | No | One-time server override. Execute on this server without changing main connection. | |
| database | No | One-time database override. Uses this database for execution. | |
| targetSchema | No | One-time schema override. Sets search_path for this execution only. |