Rotate a database password
rotate_database_passwordMake a new password for a Postgres database. The old one keeps working for an hour (or until apply_database_password), so apps can be moved over first. The answer has the new password and connection strings.
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>"
},
"name": "rotate_database_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The database's service id, from list_services |