pg_health_check
Tests connectivity to a configured PostgreSQL database and returns its version and response latency, helping verify configuration and diagnose connection issues before running queries.
Instructions
Test database connectivity and return PostgreSQL version and response latency
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": {
"database": "<database>"
},
"name": "pg_health_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database label from config |