wsl_destroy
Terminate and unregister a WSL distribution, deleting its files when requested. Irreversibly cleans up the distro.
Instructions
Terminate and unregister a WSL distro, deleting its files (irreversible).
Args: params (WslDestroyInput): distro name and whether to delete files.
Returns: str: JSON {"ok": true, "name": "...", "destroyed": true}.
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": {
"params": "<params>"
},
"name": "wsl_destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |