list_connections
Retrieve configured PostgreSQL connections with IDs, read-only status, and inferred environment; enable probe to test database reachability.
Instructions
List the configured connections: id, read_only and inferred environment. Start here; every other tool needs a connection_id. Set probe=true to also test reachability, which opens a connection to each database.
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": "list_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probe | No | Test reachability of every connection (default false: no network access, alive is null). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |