disconnect
Close a MongoDB connection and revoke its connectionId. Disconnecting the preconfigured connection only closes it, so it reconnects automatically on next use.
Instructions
Close a MongoDB connection and revoke its connectionId. Disconnecting the "preconfigured" connection only closes it — it reconnects automatically on next use because the server configuration still declares it.
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>"
},
"name": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | The connectionId to disconnect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes |