ssh_tunnel_close
Closes a specified port-forwarding tunnel by tunnel ID and releases its local listening port on the host.
Instructions
按标识符主动关闭指定的端口转发隧道并释放宿主机本地监听端口
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_tunnel_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tunnelId | Yes | 待关闭的端口转发隧道 ID |