Export qr codes
export_qr_codesRender the business's QR codes as a printable file and return a download URL. purpose: menu (one code to the menu site, repeated copies times), table_ordering (ONE CODE PER TABLE, each with its table name printed under it — needs tables, see create_tables) or link (its short links). format: home_pdf (A4/Letter sheets with cut guides, for a home printer; layout large=1, medium=4, small=12 per page), press_pdf (print shop: one code per page at size_mm wide, 3 mm bleed, trim box and crop marks, all vector) or svg_zip (one vector SVG per code, for a designer). Uses the saved design (get_qr_design) unless design overrides it for this file only.
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": {
"business_id": "<business_id>",
"purpose": "<purpose>"
},
"name": "export_qr_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | No | home_pdf: default a4 | |
| copies | No | menu/link: copies of each code; default fills one sheet | |
| design | No | ||
| format | No | Default home_pdf | |
| layout | No | home_pdf: default medium | |
| purpose | Yes | ||
| size_mm | No | press_pdf/svg_zip: printed code width in mm; default 90 | |
| bleed_mm | No | press_pdf: default 3 | |
| table_ids | No | table_ordering: which tables; default all active ones | |
| print_link | No | Also return print_link: a short link to forward to a print shop, opening a download page with the press PDF + SVGs and their specs (expires in 60 days). Default true for press_pdf and svg_zip | |
| business_id | Yes | ||
| shortlink_ids | No | link: which short links (default all); menu: the short link to encode |