Switch Connection Profile
use_connectionSwitch to a named MySQL connection profile immediately, with optional database override, without restarting the client.
Instructions
Switch to a named connection profile. 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": {
"profile": "<profile>"
},
"name": "use_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Profile name from list_connections | |
| database | No | Optional database to use instead of the profile's own database |