shell_close
Close a persistent SSH shell session. Specify the server by alias or host; omit when only one session is active.
Instructions
关闭持久化 shell 会话。使用 alias(推荐)或 host 指定目标服务器,单连接时可省略。
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": "shell_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | 服务器别名(推荐) | |
| host | No | 服务器地址(多个活跃连接时必须指定,单连接时可省略) | |
| port | No | SSH 端口(可选) | |
| username | No | 用户名(可选,配合 host 使用) |