container_stop
Stop a running WSL container by specifying its ID or name. Optionally set a timeout and signal for graceful shutdown or forced termination.
Instructions
Stop a running WSL container.
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": {
"containerId": "<containerId>"
},
"name": "container_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Seconds to wait before killing (default: 5) | |
| signal | No | Signal to send to the container (e.g. SIGTERM, SIGKILL) | |
| containerId | Yes | Container ID or name |