Switch Connection Profile
use_connectionSwitch to a named connection profile on any database engine instantly, without restart, to continue read-only queries across multiple databases.
Instructions
Switch to a named connection profile, on any engine. 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 |