Change database password
db_set_passwordSet a new password for a database user and update app config in the same change to prevent losing database access.
Instructions
Set a new password for an existing database user. Update the application config in the same change, or the app will lose the 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": {
"id": "<id>",
"password": "<password>"
},
"name": "db_set_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Database id from db_list. | |
| name | No | Database name, for confirmation. | |
| password | Yes | New password. |