Close a WSL session
wsl_disconnectClose a WSL session opened with wsl_connect to clear the server's tracked working directory while leaving the distro unchanged.
Instructions
Close a session opened with wsl_connect. Nothing in the distro is affected — only this server's memory of the working directory.
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": {
"session": "<session>"
},
"name": "wsl_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session id from wsl_connect. |