watchface_patch_local
Upserts the MCP-managed local watchface on a Divoom device, applying field-only or asset updates and creating the slot when missing.
Instructions
Upsert the MCP-managed local watchface. The server injects its managed ClockId, reads that slot first, updates it when present, and creates it when missing if dialAssetsPath plus complete ItemList and ItemIdList are supplied. Callers do not provide a ClockId. Field-only updates use POST /divoom_api; asset updates use multipart. Prefer ItemPatchList for existing rows and do not include item_id inside patch.* unless explicitly renaming a slot. TimesFrame accepts a JPEG/WebP backdrop or clock_bg.tar.gz bundle. AstroToo accepts one JPEG/WebP backdrop only after element files are uploaded separately and bound through local:// FileId values. AstroToo rejects TAR/TGZ/ZIP and bundle_image. For AstroToo, first query hardware/capabilities; use the 480x480 AstroToo resources. Legacy 800x1280 examples and typography apply only to TimesFrame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional per-call target override. If omitted, environment variables are used. | |
| fileName | No | Multipart filename header for dialAssetsPath. Defaults to basename(dialAssetsPath). | |
| itemList | No | ||
| itemIdList | No | ||
| filePartName | No | Multipart field name for dialAssetsPath part. Default is current UTC ms timestamp. | |
| setColorList | No | ||
| itemPatchList | No | ||
| deviceImageUrl | No | ||
| dialAssetsPath | No | Optional second multipart part. AstroToo: one JPEG/WebP backdrop only; element files must already have been uploaded individually and referenced by local:// FileId. TimesFrame: either a single backdrop or clock_bg.tar.gz bundle. When set, the tool POSTs /patch_local_clock. | |
| itemPatchByRoleList | No | ||
| devicePreviewImageUrl | No | ||
| devicePreviewImageUrl2 | No |