Close Session
close_sessionCloses a specific SSH session by host, using a hostname, IP address, or SSH config alias; optionally specify port and username to target the session.
Instructions
Close a specific SSH session.
The host parameter can be either a hostname/IP or an SSH config alias.
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": {
"host": "<host>"
},
"name": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname, IP address, or SSH config alias | |
| port | No | SSH port (optional, will use SSH config or default 22) | |
| username | No | SSH username (optional, will use SSH config or current user) |