Reset a lab
lab_resetReset a lab by removing its containers, networks, and volumes while preserving folder files; asks for confirmation before deletion.
Instructions
Back to a clean start: the lab's containers, networks and volumes are removed (what was done inside them is lost; the files in its folder stay) and it starts again. The server asks the person to confirm it, naming what goes; if they say no, nothing is done.
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": {
"lab": "<lab>"
},
"name": "lab_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab | Yes | The lab's name, as list_labs gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab | Yes | ||
| services | Yes |