use_profile
Switch the active database connection to a saved profile by disconnecting the current adapter and creating a new connection from the profile's configuration. Returns the updated connection state.
Instructions
切换活跃连接到已存 profile。v4.0 修复后实际断开旧 adapter 并用 profile.config 新建连接(之前只设 activeProfile 字段但不切 adapter — Bug #4)。返回的 connection 字段反映新连接状态。
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": {
"name": "<name>"
},
"name": "use_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |