Server info
get_server_infoRetrieve PostgreSQL server version, current database and role, database size, uptime, and replica status to verify environment details and diagnose connectivity.
Instructions
PostgreSQL version, current database and role, database size, uptime, and whether it is a replica.
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": "get_server_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||