Print a design the user already has
print_designPrint a finished design that already exists: a file or image the user has, or HTML the user asked to have drawn in this chat and approved. It is not where a new design starts: when the user asks for a menu, flyer, poster, postcard, brochure, invitation or business card and has no design, show_templates returns ready-made templates and open_template opens the one they pick with their details on it. It prints a flat, single-sided piece. Send exactly one of design_html (the design as a complete HTML document) or image_url (a public link to an image); a call with neither is refused. Give the finished size with width_in and height_in, each from 1 to 60 inches. The design is printed edge to edge at exactly that size: no bleed or margin is added, so author it at the true print size and keep text away from the edges. Only the first page is printed, and anything that does not fit on it is left off. An image is fitted inside the size without stretching or cropping, and any space left over stays white. If the size is left out, an image is sized from its pixels at 300 per inch and HTML is sized from how it lays out in a desktop browser window (at least 13.3 x 7.5 in), so always give the size for HTML. It is priced by printed area. The result states the size it will print at, the price per print at that size, a link to a preview image and one order link; on the order page the user picks a quantity and shipping, sees the final amount and pays as a guest (no account). Nothing is printed until they pay: after they say they have, call check_order to confirm. For business cards made from a person's name and contact details use create_business_card instead, which also prints both sides.
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": "print_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | A short name for the order, shown on the order page, e.g. 'Baby shower invite'. | |
| channel | No | Where the request comes from, e.g. 'claude', 'chatgpt', 'cursor'. Defaults to 'claude'. | |
| width_in | No | Finished width in inches, 1 to 60. Give it together with height_in. A value outside the range is moved to the nearest limit and the result says so. | |
| height_in | No | Finished height in inches, 1 to 60. Give it together with width_in. | |
| image_url | No | Public web address of the image to print (PNG, JPG, WebP or SVG), when there is no HTML. | |
| design_html | No | The design as one complete HTML document, with its styles inside it. Send this or image_url, not both. Fonts and images it links to must be public web addresses; they are loaded when the proof is made. Up to about 10 MB. |