Set device parameters
set_parameterWrites one or more TR-069 parameter values to a CPE device, such as WiFi SSID, key, or periodic inform interval, overwriting current values.
Instructions
Write one or more TR-069 parameter values on a CPE device, overwriting the current values: WiFi SSID or key, periodic inform interval, management server URL, or any writable parameter. A wrong value can cut the device off (a wrong WAN or ACS URL setting, for example). parameter_values is a JSON array of [path, value] or [path, value, xsdType] tuples; xsd types include xsd:string, xsd:boolean, xsd:unsignedInt, xsd:int and xsd:dateTime, and GenieACS infers the type when it is omitted. Example: [["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID","Lab-2","xsd:string"]]. GenieACS queues the task and sends a connection request at once: status "done" means the device applied it, "queued" means it runs at the next inform. A read-only or unknown parameter makes the device fault the task; see genieacs://faults/{device_id}. Read the current value with get_parameter first.
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_values": "<parameter_values>"
},
"name": "set_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_values | Yes | JSON array of tuples, each [path, value] or [path, value, xsdType]. Example: [["Device.WiFi.SSID.1.SSID","NewName","xsd:string"],["Device.ManagementServer.PeriodicInformInterval",300,"xsd:unsignedInt"]] |
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. |