Set Device Power
set_device_powerPowers a Cisco Packet Tracer device on or off, warning that powering off discards its unsaved running-config.
Instructions
Power a device on or off. Powering off a Cisco device discards its unsaved running-config.
Examples:
"Turn off R1"
"Power on all the switches"
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": {
"name": "<name>",
"power_on": "<power_on>"
},
"name": "set_device_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') | |
| power_on | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |