pt_ui_open
Opens a device's window in Packet Tracer at a specified tab, app, or section without mouse or keyboard input, including in headless mode.
Instructions
Opens a device's window in PT on a tab/app/section, without moving the mouse or typing (UI Automation + PT's API).
tab: Physical | Config | CLI | Desktop | Services | Programming | Attributes
app (Desktop): ip_configuration, command_prompt, terminal, web_browser, pc_wireless, email, text_editor, firewall, ipv6_firewall, vpn, traffic_generator, mib_browser, pppoe_dialer, dial_up, ip_communicator, tftp, ssh_client, bluetooth, iot_monitor... (implies tab=Desktop)
section: an entry in the tab's left-hand list: in Config "Settings" or an interface ("FastEthernet0"); in Services "DHCP", "DNS", "HTTP", "TFTP", "EMAIL", "FTP"...
Works in headless mode too: it is an explicit request to show. Requires Windows and the [ui] extra (comtypes).
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>"
},
"name": "pt_ui_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| tab | No | ||
| device | Yes | ||
| section | No | ||
| scroll_to_end | No |