disconnect
Close an active SSH connection to a specified server, or terminate all connections at once.
Instructions
断开 SSH 连接
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 服务器地址 | |
| port | No | SSH 端口 | |
| username | No | 用户名 | |
| all | No | 断开所有连接 |