Get PostgreSQL parameters
get_pg_parametersRetrieves tuned PostgreSQL parameters from a PerconaPGCluster's Patroni dynamic configuration, so you can inspect the correct settings instead of direct postgresql.conf edits.
Instructions
The tuned PostgreSQL parameters from spec.patroni.dynamicConfiguration.postgresql.parameters (the only correct place to set them — direct postgresql.conf edits are reverted by Patroni).
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_pg_parameters"
}
}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) |