watchface_layout_suggest
Returns layout hints for a given display ID by combining catalog metadata with template typography, helping you author ItemList rows or patch fragments within canvas bounds.
Instructions
Return layout hints for a single disp id by combining disp-catalog metadata with aggregated typography (median size/x/y/w/h, frequent colors, alignment mode) mined from bundled marketplace templates. Use before authoring a new ItemList row or ItemPatchList.patch fragment — values are soft guidance, not firmware-enforced. Always clamp boxes to the logical canvas (typically 800×1280). 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": {
"disp": "<disp>"
},
"name": "watchface_layout_suggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disp | Yes | Target ItemList[i].disp. | |
| model | No | For offline authoring only. A connected target's hardware determines its model. | |
| target | No | Optional per-call target override. If omitted, environment variables are used. | |
| canvasWidth | No | Logical canvas width for clamp reminders (default 800). | |
| canvasHeight | No | Logical canvas height for clamp reminders (default 1280). |