list_lab_networks
List all networks in a lab file or retrieve details for a specific network ID. Enables inspection of network topology without manual search.
Instructions
List all networks in a lab, or get a single network by id.
Args: lab_path: Full path to the .unl lab file. network_id: Specific network id, or omit to list all.
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": "list_lab_networks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab_path | Yes | ||
| network_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||