pt_create_device
Add a named PC, router, switch, or multilayer switch at specified workspace coordinates, with an optional model, to build a Packet Tracer topology via native IPC.
Instructions
Add a named PC, router or switch with native IPC. / 通过原生接口添加设备。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Workspace x coordinate. / 横坐标。 | |
| y | Yes | Workspace y coordinate. / 纵坐标。 | |
| kind | Yes | Device kind. / 类型。 | |
| name | Yes | Unique device name. / 唯一名称。 | |
| model | No | Optional exact model, e.g. 2911, 2960-24TT, 3560-24PS, PC-PT. / 可选型号。 |