watchface_replace_dial_bg_file
Replace a Divoom watchface dial background by uploading a JPEG or WebP bitmap under 500 KiB at the model’s required dimensions, without sending archive files.
Instructions
POST /replace_clock_dial_bg using multipart (Device/ReplaceClockDialBgFile). Replaces the cached dial bitmap only and does not accept archives. Backdrop must be JPEG or WebP and less than 500 KiB. Required dimensions are selected from hardware: TimesFrame 800x1280, AstroToo 480x480. For AstroToo, first query hardware/capabilities; use the 480x480 AstroToo resources. Legacy 800x1280 examples and typography apply only to TimesFrame.
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": {
"imagePath": "<imagePath>"
},
"name": "watchface_replace_dial_bg_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional per-call target override. If omitted, environment variables are used. | |
| clockId | No | ||
| fileName | No | Filename in multipart header. Defaults to basename(imagePath). | |
| imagePath | Yes | Absolute or relative JPEG/WebP path. Required size: TimesFrame 800x1280 or AstroToo 480x480; file must be less than 500 KiB. | |
| filePartName | No | Second multipart part name. Default is current UTC ms timestamp. | |
| useCurrentDisplayClock | No |