Fix a file for printing
fix_print_fileRepair what can be repaired and return download links for the print-ready file.
Rebuilds QR codes so they scan, fixes proportions by adding paper rather than cropping, and returns a PDF the size of the paper (inside a border a home printer can reach, where the paper is one a home printer takes) plus a PNG and, where it differs, an edge-to-edge PDF for print shops. For small pieces such as business cards and invitations it also returns letter and A4 sheets with several copies and cut marks. Links last 30 minutes. Resolution is never faked: when that is the problem the result carries the prompt to regenerate with.
qr_url is the link a QR code should carry when the one on the artwork was drawn by
an image model and decodes to nothing.
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": "fix_print_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| qr_url | No | ||
| file_url | No | ||
| filename | No | ||
| enlarge_qr | No | ||
| file_base64 | No |