close_session
Closes an open SSH session and tears down its shell connection; the session ID becomes invalid immediately, so open a new session to reconnect to the same host.
Instructions
Closes an open session: tears down its shell and SSH connection. The session id becomes invalid immediately; open a new session to reach the same host again.
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": {
"sessionId": "<sessionId>"
},
"name": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The sessionId returned by open_session. |