rename_mysql_database
Rename an existing MySQL database on cPanel hosting by specifying the current full name and the new suffix, keeping database access intact.
Instructions
Rename an existing MySQL 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": {
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_mysql_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New database name (suffix without prefix) | |
| old_name | Yes | Current full database name |