mssql_change_database
Switches the active database catalog on an open connection, letting you target a different database without reconnecting.
Instructions
Switches the active database catalog on an open connectionId.
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": {
"connectionId": "<connectionId>",
"database": "<database>"
},
"name": "mssql_change_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Target database name. | |
| connectionId | Yes | The connectionId returned by mssql_connect. |