preview
Debug an annotate spec by rendering marks with cyan target rects and magenta label boxes to diagnose misplaced labels or marks. Use when a render looks wrong; returns a temp image and warnings.
Instructions
Debug render of an annotate spec: draws the marks plus cyan target rects and magenta label boxes so you can see why a label moved or a mark misses its element. Use it when the annotate preview looks wrong; it is not a deliverable. Writes only a temp file, saves nothing to the output folder. Returns the temp path, warnings and the preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | Mark style: "default" (bold, built in) or the name of an installed look package (e.g. "neat"). Omit it to use the spec's look, else the user's default (AINOTATE_LOOK, config.toml). A look that is not installed or fails falls back to default with a warning listing the installed looks. | |
| spec | Yes | Render spec as a JSON object (or a JSON string). Full schema: resource ainotate://spec. |