Get connection info
get_connection_infoRetrieve a PerconaPGCluster's primary and replica connection endpoints, port, and declared user names from Kubernetes; passwords stay in Secrets and are never returned.
Instructions
Connection endpoints for a cluster: the primary/replica Service hosts, port, and the declared users (names only — passwords live in Secrets and are never returned).
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": {
"name": "<name>"
},
"name": "get_connection_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | PerconaPGCluster name | |
| context | No | kube-config context to target (defaults to current-context) | |
| namespace | No | Namespace (defaults to PERCONA_NAMESPACE if set) |