Add device
add_deviceAdd a network device to a Packet Tracer topology by model, with aliases resolved to canonical keys and ports returned. Names must be unique; omit coordinates for automatic placement.
Instructions
Add a device to the topology. model must be a PTBuilder model key; common aliases are resolved and the result shows the canonical key ("4331" -> ISR4331, "WRT300N" -> Linksys-WRT300N, "ASA5505" -> 5505, "IP Phone 7960" -> 7960, "PC" -> PC-PT). Routers: 1841, 1941, 2811, 2901, 2911, ISR4321, ISR4331. Switches: 2950-24, 2950T-24, 2960-24TT. Multilayer switches: 3560-24PS (preferred), 3650-24PS (ships without a power supply in PT). Hosts: PC-PT, Server-PT, Laptop-PT, Printer-PT. Other: Hub-PT, Cloud-PT, AccessPoint-PT, Linksys-WRT300N, 5505, 5506-X, 7960. The pt://catalog resource lists every accepted key and its ports. Names must be unique (case-insensitive), 1-64 characters: letters, digits, spaces and . _ ( ) / -, starting with a letter or digit. At most 500 devices. Omit x and y to place the device automatically. The result lists the device's ports.
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": {
"name": "<name>",
"model": "<model>"
},
"name": "add_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate on the Packet Tracer logical workspace, -100000 to 100000. Omit both x and y for automatic placement. | |
| y | No | Y coordinate on the Packet Tracer logical workspace, -100000 to 100000. Omit both x and y for automatic placement. | |
| name | Yes | Unique device name, e.g. R1, S1, PC1: 1-64 characters: letters, digits, spaces and . _ ( ) / -, starting with a letter or digit. Names are case-insensitive. | |
| model | Yes | PTBuilder model key, e.g. 2911, 2960-24TT, PC-PT. Aliases such as "4331", "WRT300N" or "PC" are resolved. |