create_topology
Construct an in-memory Packet Tracer topology from device and link definitions, enabling headless lab creation and grading without running the simulator.
Instructions
Build an in-memory Packet Tracer topology from devices and links.
Each device needs id (or name), kind (router|switch|pc|server|laptop),
and optionally model, interfaces, coordinates, and config.
Each link needs a_device, a_port, b_device, b_port, optional cable.
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": {
"devices": "<devices>"
},
"name": "create_topology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Untitled | |
| links | No | ||
| devices | Yes | ||
| instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||