add_pdu
Send a simple PDU (ICMP echo) between two devices to test connectivity in Packet Tracer. In realtime it sends immediately; in simulation it waits for the next step.
Instructions
Send a simple PDU (ICMP echo) from one device to another, like the Add Simple PDU button. In Realtime mode it goes at once; in Simulation mode it waits for simulation_step.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "add_pdu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Device the ping starts from, for example `PC1`. | |
| destination | Yes | Device it is sent to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | `realtime`: sent at once. `simulation`: waits for `simulation_step`. | |
| source | Yes | ||
| destination | Yes |