render_photo_sheet_html
Render a self-contained, printable HTML sheet tiling one ID photo at real physical size across a cols x rows grid on the chosen paper, with optional cut guides and image framing (zoom/offset). Pass the photo as an inline base64 data URL (image/jpeg or image/png); without one, the sheet prints sized placeholders. If the grid does not fit the paper, the tool returns a structured error with the exact needed and usable dimensions and renders nothing. WARNING: a base64 image payload is large and is echoed back inside the returned HTML, so it consumes a lot of the calling LLM client's context window; resize/compress the image (small JPEG, 3 MB decoded max) before calling, and prefer plan_photo_sheet when you only need the geometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| rows | No | ||
| zoom | No | ||
| gapMm | No | ||
| paper | No | A4 | |
| preset | No | fr-std | |
| marginMm | No | ||
| cutGuides | No | ||
| offsetXPct | No | ||
| offsetYPct | No | ||
| imageDataUrl | No | ||
| customWidthMm | No | ||
| customHeightMm | No |