databases_set_allow
Replace a PostgreSQL cluster's allow list to control which IP addresses or CIDRs can connect; set an empty list to close access.
Instructions
Replace a cluster's allow list (who may connect). An empty list closes it. Scope databases:write.
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": {
"id": "<id>",
"allow": "<allow>"
},
"name": "databases_set_allow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Database id from databases_list: pg-<n> | |
| allow | Yes | IP addresses or CIDRs |