remote_close
Close the cached persistent bash session for a host to reset dirty state and force a fresh shell on the next remote call.
Instructions
Close the cached persistent bash session for (the next remote_shell call reopens a fresh one).
Rarely needed: the session is created/reused/auto-recreated implicitly by remote_shell — you don't manage its lifecycle. Use this only to reset a session whose state has gotten dirty.
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": "remote_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |