pt_simulation_step
Steps Packet Tracer simulation events forward, backward, or resets it so you can inspect packet behavior event by event. Enable Simulation mode first, then read results with pt_read_packet_trace.
Instructions
Steps the simulation forward, back, or resets it.
Requires Simulation mode (pt_simulation_mode(on=True)). Each step moves the packets one event; after stepping, read the result with pt_read_packet_trace.
Parameters:
action: "forward" (default) | "back" | "reset".
times: how many steps to take (1-100, ignored for "reset").
Example: step 5 events forward: pt_simulation_step(action="forward", times=5)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pt_simulation_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | ||
| action | No | forward |