watch_events
Listen to Packet Tracer's live IPC events for a few seconds and return them to see what actions trigger, like device changes or console output.
Instructions
Listen to Packet Tracer's live IPC events for a few seconds and return them: devices and links added or removed, console output, simulation steps, ARP and DHCP activity, and 200 more across 73 classes. Start something (for example with another tool call in parallel, or by hand in Packet Tracer) and see what it triggers. describe_ipc with events lists the classes and names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | Yes | Object class raising the events, for example `LogicalWorkspace`, `TerminalLine` or `Simulation`. `describe_ipc` with `events` lists them all. | |
| events | No | Event names, for example `["deviceAdded", "linkCreated"]`. Omit for every event of the class. | |
| object | No | Only events from this object, by uuid (as returned by `call_ipc`). Omit for every object. | |
| seconds | No | How long to listen. Defaults to 10 seconds, maximum 120. | |
| max_events | No | Stop after this many events. Defaults to 100, maximum 1000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| truncated | Yes | True when `max_events` stopped the watch before `seconds` elapsed. |