down_tunnel
Close an active database tunnel by its ID. Use force true to drain holder pools and close unconditionally.
Instructions
Close a tunnel previously opened with up_tunnel, by its tunnel_id. By default only the up_tunnel pin is released: if live connection pools still use the tunnel it stays open and their keys are returned in remaining_holders. With force=true the holder pools are drained and the tunnel is closed unconditionally (the next query recreates them).
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": {
"tunnel_id": "<tunnel_id>"
},
"name": "down_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Drain holder pools and close the tunnel unconditionally | |
| tunnel_id | Yes | Tunnel id returned by up_tunnel |