reset_cpanel_password
Reset or change the main cPanel login password using the current password, with optional MySQL/MariaDB sync and automatic strong-password generation.
Instructions
Reset or change the main cPanel login password (requires old_password per cPanel UAPI; optionally syncs MySQL and auto-generates a strong password)
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": {
"old_password": "<old_password>"
},
"name": "reset_cpanel_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_password | No | New password (at least 8 characters). Omit if generate_strong_password=true | |
| old_password | Yes | Current cPanel account password (required by cPanel UAPI) | |
| enable_digest_auth | No | Also enable/update Web Disk Digest Authentication | |
| sync_mysql_password | No | Update the linked cPanel MySQL/MariaDB password to match | |
| generate_strong_password | No | Generate a random 20-character strong password automatically |