AgentMade Print on Demand
v0.1.0Print on demand for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_products Search printable products
Use this when the user wants their own picture, words or logo printed on a T-shirt, hoodie, sweatshirt or tote bag and delivered, as a gift or for themselves. Finds products by free text, category, colour and size. Returns product_id, image_url (a product photo, or null), colours, sizes and print placements. No account needed. Not for mugs, posters, caps, stickers or embroidery.
| Parameter | Type | Description |
|---|---|---|
category | string | |
color | string | Only products available in this colour, e.g. "black". |
query | string | Free-text description, e.g. "heavyweight black t-shirt" or "hoodie". |
size | string | Only products available in this size, e.g. "XL". |
get_product Get product details
Full details for one product: colours with hex codes and product photos (images: url, view, style, alt; empty when none yet; ai_generated marks AI photos), sizes, variant ids, print placements with the print area in mm, placement presets (for example center_chest, left_chest, full_front, full_back), materials and artwork guidance.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | Product id from search_products, e.g. "tee-heavyweight". |
validate_artwork Upload and validate artwork
Upload artwork and check that it prints well on one product placement. Send exactly one of: artwork with svg (markup, best for text and logos), base64 (a PNG, JPEG or SVG file up to about 2 MB, no data: prefix) or url (a public HTTPS link to the file); file (a file object from your client); or upload_link:true when you cannot send the file in this call. Returns artwork_id and PASS/WARN/FAIL checks: print size in mm, resolution (DPI), print and safe area, transparent background, contrast with the product colour. For photos and AI images use preset center_chest. Use the artwork_id in quote.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | Product to print on. |
artwork | object | New artwork to upload: exactly one of svg, base64 or url. |
artwork_id | string | Re-validate artwork uploaded earlier, or validate the file of an upload link. |
color | string | Product colour, for the contrast check. |
file | object | A file that your client gives you as a file object (for example in ChatGPT). |
height_mm | number | Maximum printed height in millimetres. |
left_mm | number | Distance from the left edge of the print area. Default: horizontally centred. |
placement | string | Print location on the product, e.g. "front" or "back". See get_product for the list. |
preset | string | Named position inside the placement, e.g. "center_chest", "left_chest", "full_front". Defaults to the placement default. |
size | string | Garment size, e.g. "XL". Print areas can differ by size; without it the smallest size is checked. |
top_mm | number | Distance from the top of the print area to the top of the artwork. |
upload_link | boolean | Set true when you cannot send the file in this call. The answer gives an artwork_id and a one-time upload_url: upload with curl, or give the link to the person. Then call validate_artwork with the art… |
width_mm | number | Exact printed width of the visible artwork in millimetres. Height follows the aspect ratio. |
create_mockup Create a preview mockup
Render a preview PNG of the artwork on the product in the chosen colour and placement. style flat draws the placement; style packshot uses a product photo with the exact print at real size, or gives the flat preview with a note when no photo exists. Returns mockup_url, blank_image_url and image_prompt (an optional text prompt for an illustration of a person who wears the product; such an image is an illustration, not the exact print). Optional.
| Parameter | Type | Description |
|---|---|---|
artwork_id * | string | |
color * | string | Product colour, e.g. "black". |
product_id * | string | |
height_mm | number | Maximum printed height in millimetres. |
left_mm | number | Distance from the left edge of the print area. Default: horizontally centred. |
placement | string | Print location on the product, e.g. "front" or "back". See get_product for the list. |
preset | string | Named position inside the placement, e.g. "center_chest", "left_chest", "full_front". Defaults to the placement default. |
size | string | |
style | string | flat: quick placement drawing. packshot: product photo with the exact print at real size (where a product photo exists). |
top_mm | number | Distance from the top of the print area to the top of the artwork. |
width_mm | number | Exact printed width of the visible artwork in millimetres. Height follows the aspect ratio. |
quote Get a delivered price quote
Price printed items delivered to one destination. Returns quote_id, the total that the payer pays (products, shipping and VAT where AgentMade collects it), what is not included, the delivery estimate and the expiry. Needs artwork_id values from validate_artwork. Charges nothing. For a destination where orders are not open, the quote is for information only.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
ship_to * | object | Destination. country_code is required; postal_code and state_code improve shipping accuracy. |
buyer | object | Only for a company purchase with an invoice. Business checkout is not open yet: the quote charges destination VAT. |
currency | string | ISO 4217 currency of the payer, e.g. "USD". Optional. The quote states the currency that it uses. |
deliver_by | string | Date by which the parcel should arrive, e.g. "2026-12-20". The quote is never refused because of it: if the estimate is later, the quote says so. |
preference | string | How AgentMade picks the manufacturing route: fewest_packages (default: fewest parcels, then best price among the fastest routes), cheapest, or fastest. |
purpose | string | What the order is for. Set it only if the user already said it. Do not ask for it. |
speed | string | Shipping speed. Only standard is offered now; express returns a note and a standard quote. |
purchase Place the order and get the payment link
Turn a quote into an order. Needs quote_id, the full recipient address (it must match the quoted destination) and rights_attestation=true. contact_email is the payer's own email, never the gift recipient's. Returns order_id and payment.url: the order page where the person pays by card, Apple Pay or Google Pay. Nothing is printed until the payment is confirmed. Idempotent per quote_id.
| Parameter | Type | Description |
|---|---|---|
rights_attestation * | boolean | Must be true: confirms the customer owns or is licensed to print all submitted artwork, and that it is not prohibited content. |
contact_email | string | Email of the payer, for the order confirmation and the payment receipt. Not the recipient's email: for a gift, the recipient must not see the price. Optional. |
gift_message | string | Short message for the packing slip of a gift. Not printed yet: the answer says so. |
orders | array | Many parcels with one payment: one quote_id and one recipient per parcel. Not live yet: call purchase once per quote_id for now. |
payment_capabilities | array | Payment methods the calling agent can use. "hosted_checkout" = a link that the person opens to pay by card, Apple Pay or Google Pay. Always supported. |
quote_id | string | quote_id returned by quote, for one parcel. Set quote_id or orders, not both. |
recipient | object | Shipping address. Country, state and postal code must match the quote destination. Send the full address when you have it. If you cannot collect the street address, send only country_code, postal_code… |
get_order Get order status
Current order status (AWAITING_PAYMENT, PAID, SUBMITTED, IN_PRODUCTION, SHIPPED, DELIVERED or an exception state), next_step in plain language, the payment link while unpaid, shipments and a timeline.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | order_id returned by purchase. |
track_order Track shipment
Carrier, tracking number and tracking link for each shipment of an order, and the delivery estimate.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | order_id returned by purchase. |
cancel_order Cancel an order
Cancel an order. Unpaid: closes the payment link; nothing is charged. Paid and not yet in production: cancels and refunds in full. In production or shipped: cannot be cancelled; the error gives the reason. A second call on a cancelled order is safe.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | order_id returned by purchase. |
reason | string |