ssh_close_tunnel
Terminate an active SSH tunnel by its tunnel ID to stop port forwarding and release resources. Use the ID returned by local or remote forwarding to close that tunnel.
Instructions
Close an active SSH tunnel by its tunnel ID.
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": {
"tunnelId": "<tunnelId>"
},
"name": "ssh_close_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tunnelId | Yes | Tunnel ID returned by ssh_forward_local or ssh_forward_remote |