ssh_shell_close
Terminate an active interactive shell session on a remote server, freeing up resources and closing the connection.
Instructions
Close an interactive shell session
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>",
"shellId": "<shellId>"
},
"name": "ssh_shell_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shellId | Yes | Shell ID from ssh_shell_start | |
| sessionId | Yes | Session ID from ssh_connect |