rename_lab
Change the name of a PNETLab lab by renaming its .unl file. Provide the lab path and the new name (without .unl).
Instructions
Rename a lab (changes its .unl filename). PNETLab sanitizes the new name (special characters are stripped). Pass the new name without .unl.
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>",
"new_name": "<new_name>"
},
"name": "rename_lab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab_path | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |