Server information
pg_server_infoInspect a PostgreSQL server's version, uptime, role, privileges, database size, settings, extensions, and supported features to guide safe, version-aware tool use on unfamiliar instances.
Instructions
Show PostgreSQL version, uptime, current role and privileges, database size, key settings, installed extensions and which optional features this server supports.
Use it first on an unfamiliar server: tools adapt to the version (9.6 to 19) and to the extensions reported here.
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": "pg_server_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No |