db_status
Check PostgreSQL status: active profile, host, database, write mode, and a live SELECT 1 health check. Optionally pass a profile for a one-shot check without changing the sticky session.
Instructions
Show current sticky PostgreSQL profile, host, database, write mode, and a live SELECT 1 health check. Optional profile arg for a one-shot check without changing the sticky session.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 override for the health check |