plan_photo_sheet
Compute the layout of an ID-photo print sheet without rendering it: resolves the photo size from the preset (or custom millimetres), counts the photos, and checks whether the grid fits the printable area of the chosen paper. Returns a JSON plan with ok, photo/needed/usable dimensions and a message; ok is false (never an error) when the grid does not fit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_photo_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| rows | No | ||
| gapMm | No | ||
| paper | No | A4 | |
| preset | No | fr-std | |
| marginMm | No | ||
| customWidthMm | No | ||
| customHeightMm | No |