delete_lab
Stop a running lab session, wipe its nodes, and unbind it. Optionally delete the lab file permanently.
Instructions
Tear down a lab's running session — stops and wipes its nodes and unbinds it (PNETLab factory/destroy). By default the .unl file is KEPT on disk. Pass delete_file=true to ALSO permanently delete the .unl file from disk (irreversible). Works for labs at the workspace root or in a subfolder, and is not blocked by other running labs.
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_path": "<lab_path>"
},
"name": "delete_lab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab_path | Yes | ||
| delete_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |