Configure PostgreSQL pooler
databases.pool.configureConfigure PgBouncer mode and replicas for an authorized managed PostgreSQL database.
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": {
"deployment_id": "<deployment_id>",
"pool_mode": "<pool_mode>"
},
"name": "databases.pool.configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replicas | No | PgBouncer replicas from 1 to 10 | |
| pool_mode | Yes | PgBouncer mode: transaction, session, or statement | |
| deployment_id | Yes | PostgreSQL deployment identifier | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment | Yes |