rename_mysql_database
Rename an existing MySQL database by providing its current full name and the new database name suffix, so you can update database identifiers without recreating the database.
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 |