generate_report
Generate a CAD-style PDF + 3D PNG report for a packing job. IMPORTANT: to keep the report consistent with a plan you already produced, pass the result object from your previous pack_containers call — the report then renders that exact plan instead of recomputing. Returns base64-encoded PDF + PNG per container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cargos | Yes | ||
| pallet | No | The pallet to stack onto. Required when loadingMode is "pallet". | |
| result | No | OPTIONAL but strongly recommended: the exact `result` object returned by a prior pack_containers call, so the report renders THAT plan instead of repacking. | |
| options | No | ||
| container | No | ||
| containers | No | ||
| loadingMode | No | 'bulk' (default) loads cartons straight into the container. 'pallet' first stacks cartons onto pallets, then loads the pallets — requires the `pallet` field. |