Refresh parameter from device
refresh_parameterFetch a fresh TR-069 parameter value from a CPE device and store it in GenieACS when cached data may be stale; no device settings are changed.
Instructions
Ask a CPE device for the current value of a TR-069 parameter, or of every parameter under an object path, and store it in GenieACS. Use it when get_parameter's cached value may be stale. It changes nothing on the device. GenieACS queues a getParameterValues task and sends a connection request at once: status "done" means the fresh value is already stored, so read it with get_parameter; "queued" means it arrives at the device's next inform. Example: refresh_parameter(device_id="202BC1-BM632w-000001", parameter="Device.DeviceInfo.SoftwareVersion").
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>",
"parameter": "<parameter>"
},
"name": "refresh_parameter"
}
}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. | |
| parameter | Yes | Full dotted TR-069 path in the device's data model. Examples: "Device.DeviceInfo.SoftwareVersion", "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID", or an object such as "Device.WiFi." for everything under it. |
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. |