update_device
Modify device name, tags, address, or notes while preserving original values for rollback and audit logging. Use dry run to preview changes.
Instructions
[WRITE][risk=medium] Update device attributes (name/tags/address/notes).
Captures the changed keys' prior values before the change, so the harness
records an undo (restore the prior values) and a faithful audit trail. Pass
dry_run=True to preview.
Args:
serial: Device serial.
attrs: Attributes to set — allowed keys: name, tags, address, notes,
lat, lng, floorPlanId.
dry_run: If True, preview without changing.
target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attrs | Yes | ||
| serial | Yes | ||
| target | No | ||
| dry_run | No |