Switch Database
use_databaseSwitch the active database on the current MySQL server immediately, no restart needed. Choose the database by name to change the working context.
Instructions
Switch the active database on the current MySQL server. Takes effect immediately, no restart needed
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": {
"database": "<database>"
},
"name": "use_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name to switch to |