rename_mysql_user
Renames an existing MySQL user in cPanel, updating the account from a current full username to a new suffix-based username for managing database access.
Instructions
Rename an existing MySQL user
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_user": "<old_user>",
"new_user": "<new_user>"
},
"name": "rename_mysql_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_user | Yes | New username (suffix without prefix) | |
| old_user | Yes | Current full username |