set_power
Switch a device on or off to power cycle it. Unsaved configuration is lost when reloading a router or switch.
Instructions
Switch a device on or off. Switching a router or switch off and on reloads it: configuration that was not saved with write memory is lost. IOS devices come back ready at the prompt.
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>",
"on": "<on>"
},
"name": "set_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | `true` to switch it on, `false` to switch it off. | |
| device | Yes | Device name as returned by `list_devices`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| device | Yes |