topo_inspect
Inspect a .topo file to list devices, links, free interfaces, and console ports.
Instructions
读一份 .topo,返回设备清单、链路清单和每台设备的空闲接口。
每台设备会带上 consolePort,那就是 device_* 工具要用的端口号。
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_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |