clab_generate
Generate a Containerlab topology YAML file for lab testing, mirroring production inventory or using pre-built test scenarios like basic, MPLS core, or datacenter.
Instructions
Generate a Containerlab topology for lab testing.
Creates a containerlab YAML topology file that mirrors your production device inventory, or uses a pre-built test scenario.
Args: scenario: Test scenario — 'basic', 'mpls_core', 'datacenter', 'isp_edge', or 'inventory' (uses your devices.yaml)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clab_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | No | basic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |