pt_terminal
Types console commands from a PC connected by RS-232 cable to a router or switch, so you can configure devices over the console in Packet Tracer.
Instructions
Desktop > Terminal of a PC connected by a CONSOLE cable (RS 232) to a router/switch: types on that device's console, as from the PC's Terminal. This is how labs configure a device "over the console".
device: the PC (or Laptop) that has the console cable.
commands, timeout, auto_confirm: as in pt_cli.
show/capture: shows the PC's Terminal app (its 9600 8N1 settings window is accepted automatically).
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": "<device>",
"commands": "<commands>"
},
"name": "pt_terminal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | ||
| device | Yes | ||
| capture | No | ||
| timeout | No | ||
| commands | Yes | ||
| output_dir | No | screenshots | |
| auto_confirm | No |