db_list_tables
List tables and views in a PostgreSQL schema, defaulting to public, with optional database or connection profile overrides. Use it to discover available objects before running queries.
Instructions
List tables/views for a schema (default public). Optional database and/or profile override.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "db_list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: public) | |
| profile | No | Connection profile: "dev" | "qa" | "default". Uses credentials from mcp.json (DBEAVER_DEV_* / DBEAVER_QA_* or PG_DEV_* / PG_QA_*). Omit to use the sticky session profile from db_set_profile / DBEAVER_PROFILE. | |
| database | No | Optional database name override |