generate_report
Generate a CAD-style PDF and 3D PNG report for a container packing job. Use a prior pack result to keep the report consistent with the plan already shown.
Instructions
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 (which can differ run-to-run). If result is omitted, it packs from cargos + containers. Returns base64-encoded PDF + PNG per container plus the pack result.
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": {
"cargos": "<cargos>"
},
"name": "generate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cargos | Yes | ||
| container | No | Single container to pack into. Use this OR containers[]. | |
| containers | No | Multiple container types — Kubova picks the best mix. | |
| options | No | ||
| result | No | OPTIONAL but strongly recommended: the exact `result` object returned by a prior pack_containers call. Pass it here so the report renders THAT plan instead of repacking — this guarantees the PDF matches the packing you already showed the user. Omit only if you have not packed yet. |