Put a sensor on the current firmware
update_device_firmwareTells one sensor to install the published firmware release for its model. It is queued rather than done: the sensor picks the instruction up on its next check-in, so within about a minute, and installs and verifies the signed image itself. Leave version out to mean whatever is current, which is the usual answer; naming a version that is not the current release is refused, as is a model with no release published. Read list_devices first to see which sensors are behind. Requires a PitCanary account.
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": "update_device_firmware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | A specific release, for example 2.57.0. Leave it out for whatever is current. | |
| device_id | Yes | The device id, as returned by list_devices. |