Server definition
- Hash
- sha256:466ca6a55eb5f30270e5d009c3fb7ccf2a81ac04f92082711e7468cbca3b20b2
- What it is
- What a remote MCP server returned when asked what it offers: 24 tools
The blob, as servednamed by its sha256
{
"instructions": "Using these tools needs signing in to a Toolbox POD account (OAuth). Toolbox POD prints a merchant's own designs. Start with whoami. Show a design: list_designs, then get_mockup (on a model: list_mockup_looks). Order: create_order gives the total; ask before purchase_order. The client shows every picture these tools return. Never write a preview link as a markdown image; give it as a plain link only if asked or the person can't see it. Never generate, draw or edit an image of a merchant's design or product yourself; if a look or color is missing, say so and offer what is.",
"tools": [
{
"description": "Approve a design for printing so it can be ordered (its print files go to production). First show the person the design (get_mockup) and ask; call this only after they say yes. Owner or Manager only; free.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"acknowledgment": {
"properties": {
"rightsStatement": {
"maxLength": 2000,
"type": "string"
},
"specificationHash": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"warningsHash": {
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"designId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"designId"
],
"type": "object"
},
"name": "activate_design",
"outputSchema": null
},
{
"description": "Make a NEW design: uploaded artwork placed on the front and/or back of a garment. To show or order a design that already exists, find it with list_designs first; don't create a new design for the same artwork. Ask the person what to call it (title) and list every warning code in acknowledgedWarnings. A new design is not approved for printing until activate_design.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"acknowledgedWarnings": {
"default": [],
"description": "Every warning code the artwork or placement raised",
"items": {
"maxLength": 80,
"type": "string"
},
"type": "array"
},
"back": {
"properties": {
"adjust": {
"description": "collar-v1 only; omit for the rule as is.",
"properties": {
"align": {
"description": "box = true center, visual = ink-weighted center",
"enum": [
"box",
"visual"
],
"type": "string"
},
"dxIn": {
"description": "Inches; + = right",
"type": "number"
},
"dyIn": {
"description": "Inches; + = down, away from the collar",
"type": "number"
},
"scale": {
"description": "Fraction of the rule's size, above 0 and at most 1",
"type": "number"
}
},
"type": "object"
},
"artworkId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"placement": {
"description": "print-area-v1 only: size and position in inches inside the print area.",
"properties": {
"centerXIn": {
"description": "Inches from the center line; 0 = centered",
"type": "number"
},
"heightIn": {
"type": "number"
},
"topOffsetIn": {
"description": "Inches from the top of the print area",
"type": "number"
},
"widthIn": {
"type": "number"
}
},
"required": [
"widthIn",
"heightIn",
"topOffsetIn",
"centerXIn"
],
"type": "object"
},
"placementModel": {
"description": "collar-v1 = placed by the collar with an optional adjust; omitted = a print-area placement.",
"enum": [
"print-area-v1",
"collar-v1"
],
"type": "string"
},
"preset": {
"description": "Print position instead of adjust, e.g. left-chest",
"enum": [
"full-front",
"left-chest",
"full-back"
],
"type": "string"
}
},
"required": [
"artworkId"
],
"type": "object"
},
"front": {
"properties": {
"adjust": {
"description": "collar-v1 only; omit for the rule as is.",
"properties": {
"align": {
"description": "box = true center, visual = ink-weighted center",
"enum": [
"box",
"visual"
],
"type": "string"
},
"dxIn": {
"description": "Inches; + = right",
"type": "number"
},
"dyIn": {
"description": "Inches; + = down, away from the collar",
"type": "number"
},
"scale": {
"description": "Fraction of the rule's size, above 0 and at most 1",
"type": "number"
}
},
"type": "object"
},
"artworkId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"placement": {
"description": "print-area-v1 only: size and position in inches inside the print area.",
"properties": {
"centerXIn": {
"description": "Inches from the center line; 0 = centered",
"type": "number"
},
"heightIn": {
"type": "number"
},
"topOffsetIn": {
"description": "Inches from the top of the print area",
"type": "number"
},
"widthIn": {
"type": "number"
}
},
"required": [
"widthIn",
"heightIn",
"topOffsetIn",
"centerXIn"
],
"type": "object"
},
"placementModel": {
"description": "collar-v1 = placed by the collar with an optional adjust; omitted = a print-area placement.",
"enum": [
"print-area-v1",
"collar-v1"
],
"type": "string"
},
"preset": {
"description": "Print position instead of adjust, e.g. left-chest",
"enum": [
"full-front",
"left-chest",
"full-back"
],
"type": "string"
}
},
"required": [
"artworkId"
],
"type": "object"
},
"garment": {
"description": "A garment code: GD64, CC17, LS14, or one stocked for this account alone (list_garments lists every one it can use)",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"title": {
"description": "The merchant's name for the design",
"maxLength": 120,
"type": "string"
}
},
"type": "object"
},
"name": "create_design",
"outputSchema": null
},
{
"description": "A quick nonbinding price for approved designs (design, size, quantity), shipping included. Creates nothing: when the person asks for an order, use create_order instead (drafting is free).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lines": {
"items": {
"properties": {
"designId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"quantity": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"size": {
"description": "S, M, L, XL, 2X or 3X",
"maxLength": 20,
"minLength": 1,
"type": "string"
}
},
"required": [
"designId",
"size",
"quantity"
],
"type": "object"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
}
},
"required": [
"lines"
],
"type": "object"
},
"name": "create_estimate",
"outputSchema": null
},
{
"description": "Create a draft order for one US recipient and get its total (offer.totalCents, shipping included). Drafting is free, so no need to ask first; nothing is charged: tell the person the total and ask before paying (nextStep says how). Leave out storeId (the direct-order store is used) and externalReference (one is made) unless you have them.",
"inputSchema": {
"$defs": {
"RetailLineTotal": {
"description": "Optional. What your customer paid for this line in total (quantity × your price, after discounts, before tax and shipping): integer cents (amount × 100) and an upper-case ISO 4217 currency. Informational only: it counts toward your revenue figure and never changes the quote, the charge or what is printed. It is not part of the replay body, so a replay that differs only here returns the existing order.",
"properties": {
"amountCents": {
"maximum": 1000000000,
"minimum": 0,
"type": "integer"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amountCents",
"currency"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"externalReference": {
"description": "Your own unique id for this order; one is made when left out",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"lines": {
"items": {
"properties": {
"color": {
"description": "Color code (BLK) or name (Black)",
"maxLength": 30,
"minLength": 1,
"type": "string"
},
"designId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"merchantSku": {
"maxLength": 120,
"type": "string"
},
"quantity": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"retailLineTotal": {
"$ref": "#/$defs/RetailLineTotal",
"description": "Optional: what your customer paid for this line, for your revenue figure only"
},
"size": {
"description": "S, M, L, XL, 2X or 3X",
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"title": {
"description": "Line title, e.g. the design name",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"designId",
"size",
"color",
"quantity",
"title"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"recipient": {
"properties": {
"city": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"company": {
"maxLength": 200,
"type": "string"
},
"country": {
"description": "US (the only country we ship to)",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"email": {
"maxLength": 200,
"type": "string"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"phone": {
"maxLength": 60,
"type": "string"
},
"postal": {
"description": "5-digit ZIP",
"maxLength": 30,
"minLength": 1,
"type": "string"
},
"state": {
"description": "2-letter US state code, e.g. IL",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"street1": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"street2": {
"maxLength": 200,
"type": "string"
}
},
"required": [
"name",
"street1",
"city",
"state",
"postal",
"country"
],
"type": "object"
},
"storeId": {
"description": "Leave out for the direct-order store",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"recipient",
"lines"
],
"type": "object"
},
"name": "create_order",
"outputSchema": null
},
{
"description": "Send support a message about an order; you get a reference back. Support replies by email to the person on the account, not here.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"enum": [
"cancellation",
"order_change",
"quality_claim",
"loss_claim",
"address",
"billing",
"other"
],
"type": "string"
},
"message": {
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"orderId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"orderId",
"category",
"message"
],
"type": "object"
},
"name": "create_support_request",
"outputSchema": null
},
{
"description": "Throw away an order that was never paid (no payment tried). Cannot be undone.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"orderId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"orderId"
],
"type": "object"
},
"name": "discard_order",
"outputSchema": null
},
{
"description": "Draw a design with AI. With reference ids (upload_design_reference) it recreates it closely and brief says only what to change; without, brief describes the design (what it shows, exact words, style). Uses 1 of the account's 20 free AI images a month (at most 15 a day); nothing is charged. Then poll get_generation_job until status is review. Only use images and text the person owns or may use (Toolbox POD Terms of Service).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"brief": {
"type": "string"
},
"colorCodes": {
"default": [],
"description": "Optional: the shirt color it is drawn for, usually one code",
"items": {
"maxLength": 12,
"type": "string"
},
"maxItems": 60,
"type": "array"
},
"garment": {
"description": "A garment code: GD64, CC17, LS14, or one stocked for this account alone (list_garments)",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"idempotencyKey": {
"description": "Makes a retry safe",
"maxLength": 200,
"type": "string"
},
"referenceIds": {
"default": [],
"items": {
"maxLength": 2000,
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"brief",
"garment"
],
"type": "object"
},
"name": "generate_design",
"outputSchema": null
},
{
"description": "A link to the Toolbox POD website where the person, signed in, reviews an order's total and pays for it (a draft, quoted or payment-held order). Changes nothing and charges nothing; only the account Owner can pay there.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"orderId": {
"description": "The order's id (ord_…) or its number (1042 or #1042)",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"orderId"
],
"type": "object"
},
"name": "get_checkout_link",
"outputSchema": null
},
{
"description": "One design: its sides and placement, warnings, whether it is approved for printing and whether production has its print files. withHashes adds its exact print spec and two hashes. The client shows these pictures to the person: refer to each by its label, and never write a preview link as a markdown image. Give it as a plain link only if the person asks to open or download it, or can't see it, and do not generate, draw or edit your own version of the shirt, design or product.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"designId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"withHashes": {
"description": "Add specificationHash and warningsHash (optional pins for activate_design)",
"type": "boolean"
}
},
"required": [
"designId"
],
"type": "object"
},
"name": "get_design",
"outputSchema": null
},
{
"description": "An AI design job: its status, versions and nextStep. Judge versions once it is in review: then use_design_version, try_another_version or request_design_changes. When ready, artworkId goes to create_design.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"jobId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"jobId"
],
"type": "object"
},
"name": "get_generation_job",
"outputSchema": null
},
{
"description": "Show a design on a shirt in one color and side, as a picture the client shows to the person: call it by its label. To show an existing design, find it with list_designs first. For a model wearing it, pass look: a model look from list_mockup_looks, in a color it has. Give previews[].url as a plain link, only if they ask to open or download it (it expires in 24 hours); never write it as a markdown image. Free: our own photos. If a look or color is refused, offer the ones that exist; never generate a picture of the design yourself.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"colorCode": {
"description": "Color code (BLK) or name (Black) of the design's garment",
"maxLength": 30,
"minLength": 1,
"type": "string"
},
"designId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"look": {
"description": "A look ref from list_mockup_looks or a template ref from list_mockup_templates",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"side": {
"description": "Default: the design's first side",
"enum": [
"front",
"back"
],
"type": "string"
}
},
"required": [
"designId",
"colorCode"
],
"type": "object"
},
"name": "get_mockup",
"outputSchema": null
},
{
"description": "One order, by its id or its number (#1042): its lines, quote (quoteId and totalCents), status and hold reason, packages and tracking, the latest payment attempt and its production state.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"orderId": {
"description": "The order's id (ord_…) or its number (1042 or #1042)",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"orderId"
],
"type": "object"
},
"name": "get_order",
"outputSchema": null
},
{
"description": "The price list in cents: one shirt per garment and size, one- or two-sided, plus one flat shipping fee per order. Ships to the 50 US states and DC only. For a total, don't add it up yourself: use create_estimate or create_order.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "get_rates",
"outputSchema": null
},
{
"description": "Uploaded artwork, newest first (also files uploaded on the website), each with its artwork id for create_design and its warnings. search matches part of the filename; artworkId gives one file with how large it prints.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"artworkId": {
"description": "Just this file, with printSize",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "How many, newest first (default 20, at most 50).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"search": {
"description": "Part of the filename, case-insensitive.",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "list_artwork",
"outputSchema": null
},
{
"description": "The account's designs, newest first, each with its id (for get_mockup and create_order), name, garment, sides and approved (true = can be ordered). query finds one by name. Look here before creating a design: a new design starts unapproved. The client shows these pictures to the person: refer to each by its label, and never write a preview link as a markdown image. Give it as a plain link only if the person asks to open or download it, or can't see it, and do not generate, draw or edit your own version of the shirt, design or product.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"after": {
"description": "nextCursor from the previous call.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"garment": {
"description": "A garment code: GD64, CC17, LS14, or one stocked for this account alone (list_garments lists every one it can use)",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "How many, newest first (default 20, at most 50).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Part of the design's name (or its id), case-insensitive.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"status": {
"description": "approved: approved for printing; draft: not approved yet.",
"enum": [
"approved",
"draft"
],
"type": "string"
}
},
"type": "object"
},
"name": "list_designs",
"outputSchema": null
},
{
"description": "What you can print on (GD64, CC17, …), with their color codes and names, sizes, print areas in inches and artwork rules. code gives just one.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"description": "e.g. GD64; leave out for all",
"maxLength": 40,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "list_garments",
"outputSchema": null
},
{
"description": "Our real photo looks for one garment, model shots first, with the colors each has. For \"a model wearing it\": get_mockup with look set to the model look modelLookFor names for that color. No tool generates a model photo with AI. With designId, the first few show that design. Free. The client shows these pictures to the person: refer to each by its label, and never write a preview link as a markdown image. Give it as a plain link only if the person asks to open or download it, or can't see it, and do not generate, draw or edit your own version of the shirt, design or product.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"designId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"garment": {
"maxLength": 12,
"minLength": 2,
"type": "string"
}
},
"required": [
"garment"
],
"type": "object"
},
"name": "list_mockup_looks",
"outputSchema": null
},
{
"description": "Orders, newest first (limit 1 gives the latest), each with its status and a plain-words progress note. get_order has the lines, tracking and payment.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"after": {
"description": "nextCursor from the previous call",
"maxLength": 80,
"type": "string"
},
"limit": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"status": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"name": "list_orders",
"outputSchema": null
},
{
"description": "Pay for an order with the account's card: real money. BEFORE calling it, tell the person the total (shipping included) and ask them to confirm; call it only after they say yes, unless they clearly asked to pay right now (\"buy it now\", \"go ahead and pay\"). \"Order\", \"make an order\" or \"order these\" alone is NOT that: create the order, show the total, and ask. Pass the quoteId and totalCents of the order's offer (create_order, update_order or get_order). The same idempotencyKey never charges twice. If paying is not set up (Owner only, a spending limit, a card), the order is held, nothing is charged, and the result says what the person must do.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"accepted": {
"description": "Older form: the whole offer object instead of quoteId and totalCents",
"properties": {
"quoteId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"quoteVersion": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"rateCardVersion": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"revisionHashes": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"totalCents": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"quoteId",
"quoteVersion",
"totalCents",
"rateCardVersion",
"revisionHashes"
],
"type": "object"
},
"idempotencyKey": {
"description": "Any unique string; reuse it on a retry",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"orderId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"quoteId": {
"description": "The offer's quoteId",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"testOutcome": {
"description": "Test connections only",
"enum": [
"succeed",
"decline",
"uncertain"
],
"type": "string"
},
"totalCents": {
"description": "The offer's total, as told to the person",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"orderId",
"idempotencyKey"
],
"type": "object"
},
"name": "purchase_order",
"outputSchema": null
},
{
"description": "Try paying for a held order again (an earlier attempt is checked first, so nothing is charged twice). BEFORE calling it, tell the person the total and ask them to confirm, unless they clearly asked to pay for this order right now. Needs an idempotencyKey; a refusal charges nothing.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"idempotencyKey": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"orderId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"testOutcome": {
"description": "Test connections only",
"enum": [
"succeed",
"decline",
"uncertain"
],
"type": "string"
}
},
"required": [
"orderId",
"idempotencyKey"
],
"type": "object"
},
"name": "retry_order",
"outputSchema": null
},
{
"description": "Change the recipient or lines of an order that was never paid (no payment tried). It is quoted again: offer has the new quoteId and total, nextStep how to pay. The lines given replace all the lines.",
"inputSchema": {
"$defs": {
"RetailLineTotal": {
"description": "Optional. What your customer paid for this line in total (quantity × your price, after discounts, before tax and shipping): integer cents (amount × 100) and an upper-case ISO 4217 currency. Informational only: it counts toward your revenue figure and never changes the quote, the charge or what is printed. It is not part of the replay body, so a replay that differs only here returns the existing order.",
"properties": {
"amountCents": {
"maximum": 1000000000,
"minimum": 0,
"type": "integer"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amountCents",
"currency"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lines": {
"items": {
"properties": {
"color": {
"description": "Color code (BLK) or name (Black)",
"maxLength": 30,
"minLength": 1,
"type": "string"
},
"designId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"merchantSku": {
"maxLength": 120,
"type": "string"
},
"quantity": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"retailLineTotal": {
"$ref": "#/$defs/RetailLineTotal",
"description": "Optional: what your customer paid for this line, for your revenue figure only"
},
"size": {
"description": "S, M, L, XL, 2X or 3X",
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"title": {
"description": "Line title, e.g. the design name",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"designId",
"size",
"color",
"quantity",
"title"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"orderId": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"recipient": {
"properties": {
"city": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"company": {
"maxLength": 200,
"type": "string"
},
"country": {
"description": "US (the only country we ship to)",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"email": {
"maxLength": 200,
"type": "string"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"phone": {
"maxLength": 60,
"type": "string"
},
"postal": {
"description": "5-digit ZIP",
"maxLength": 30,
"minLength": 1,
"type": "string"
},
"state": {
"description": "2-letter US state code, e.g. IL",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"street1": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"street2": {
"maxLength": 200,
"type": "string"
}
},
"required": [
"name",
"street1",
"city",
"state",
"postal",
"country"
],
"type": "object"
}
},
"required": [
"orderId"
],
"type": "object"
},
"name": "update_order",
"outputSchema": null
},
{
"description": "Upload a PNG and get an artwork id for create_design, with how large it can print. Pass pngUrl (a public HTTPS link; preferred) or pngBase64, not both. A file on the person's computer: ask them to upload it at https://toolboxpod.com/app/library?tab=artwork, then find it with list_artwork.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"byteSize": {
"description": "Optional check: the file's size in bytes",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"filename": {
"maxLength": 200,
"type": "string"
},
"pngBase64": {
"description": "The PNG bytes, base64 (long strings get cut by chat clients: prefer pngUrl)",
"minLength": 1,
"type": "string"
},
"pngUrl": {
"description": "Public HTTPS link to the PNG",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"sha256": {
"description": "Optional check: the file's SHA-256 (hex)",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
}
},
"type": "object"
},
"name": "upload_artwork",
"outputSchema": null
},
{
"description": "Chooses this version as the design and makes its print file (free). Once the job is ready, its artworkId goes to create_design.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"jobId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"versionId": {
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"jobId",
"versionId"
],
"type": "object"
},
"name": "use_design_version",
"outputSchema": null
},
{
"description": "Call this first. Returns the account, the person's role, its stores and readiness: whether orders can be paid now and, if not, nextSteps, each with the website link that fixes it. Call it again after the person has done a step.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "whoami",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:466ca6a55eb5f30270e5d009c3fb7ccf2a81ac04f92082711e7468cbca3b20b2 | sha256sum