pt_add_device
Add a router, switch, PC, server, or other Cisco Packet Tracer device to the logical workspace by specifying device type, model, and X/Y position.
Instructions
Add a device to the logical workspace.
Common models: routers '1941', '2901', '2911', 'ISR4321', 'ISR4331', 'Router-PT'; switches '2960-24TT', '2950-24', 'Switch-PT'; multilayer '3560-24PS', '3650-24PS'; end devices 'PC-PT', 'Laptop-PT', 'Server-PT', 'Printer-PT'; 'AccessPoint-PT', 'WRT300N' (wirelessrouter), 'Cloud-PT', 'Hub-PT', '5506-X' (asa).
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": {
"device_type": "<device_type>",
"model": "<model>",
"x": "<x>",
"y": "<y>"
},
"name": "pt_add_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | No | ||
| model | Yes | ||
| device_type | Yes |