Reboot device
reboot_deviceRestart a CPE device through GenieACS after a config change or to recover an unresponsive unit. Queues the task and sends a connection request; verify the device returned by reading its UpTime.
Instructions
Reboot a CPE device through GenieACS. Use it when a device needs a restart, for example after a configuration change or to recover an unresponsive device. The device drops its service while it restarts. GenieACS queues the task and sends a connection request at once: status "done" means the device ran it in that session, "queued" means it runs at the device's next inform. A reboot does not confirm the device came back; read Device.DeviceInfo.UpTime (or InternetGatewayDevice.DeviceInfo.UpTime) with refresh_parameter afterwards. Example: reboot_device(device_id="202BC1-BM632w-000001").
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_id": "<device_id>"
},
"name": "reboot_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | The GenieACS device id (the _id field), exactly as GenieACS stores it, usually OUI-ProductClass-SerialNumber, e.g. "202BC1-BM632w-000001". GenieACS escapes characters other than letters and digits inside the product class and serial as %XX (a "-" there becomes "%2D"), so copy ids from genieacs://devices/list or search_devices rather than typing them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | The task document GenieACS returned. | |
| status | Yes | done: the device ran the task in the session GenieACS opened at once. queued: the device did not answer within 3 seconds, so the task runs at its next inform or connection request. | |
| message | Yes | What happened, in one sentence. | |
| task_id | No | The GenieACS task id; use it with delete_task or retry_task, or look for it in genieacs://tasks/{device_id}. | |
| device_id | Yes | The device the task was queued on. |