topo_remove
Remove devices or links from a Huawei eNSP topology file by specifying the file path and optionally a list of device names or link endpoints (from, to).
Instructions
删设备或删连线。
Args: path: .topo 文件路径。 devices: 要删的设备名列表,删设备会连带删掉它身上所有的线。 links: 要断开的链路,每项 {"from": "A", "to": "B"}。
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": {
"path": "<path>"
},
"name": "topo_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| links | No | ||
| devices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |