Change a business card
update_business_cardChange a business card that create_business_card already made: a detail, the design, the color or the quantity. Pass the order link (or the id in it) as order, plus only the fields that change. A field you leave out keeps its current value; a field sent as an empty string is taken off the card, and can be put back with another update. Nothing is deleted: every change can be undone the same way. The card keeps the same order link, so the user does not need a new one. Returns the new preview of both sides, the price and the same link, exactly like create_business_card. It works until the card is paid for; after that the card is fixed, and a different card needs a new create_business_card call. Use this for every change the user asks for after the first proof, and after they chose a design from show_card_designs. End each reply with "Want to change anything, or print it?", and give the link when they say print.
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": {
"order": "<order>"
},
"name": "update_business_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. Leave it out to keep the current one. | |
| No | New email address. Leave it out to keep the current one; send an empty string to take it off the card. | ||
| order | Yes | The order link returned by create_business_card, or the id inside it. | |
| phone | No | New phone number. Leave it out to keep the current one; send an empty string to take it off the card. | |
| style | No | New card design. Leave it out to keep the current one. The designs by look (a design can have two): minimal: classic, frame, line, soft, center, dots, badge, mono, grove, lagoon, summit, studio, sage, sprout; classic: classic, monogram, corner, initial, warm, stripe, ivory, laurel, marine, quill, capital, linen, claret; elegant: frame, noir, arch, monogram, line, center, onyx, initial, ivory, laurel, quill, petal, crest, regent, orchid, seal, gilt, blush, claret; modern: slant, banner, wave, dusk, bold, corner, sidebar, dots, stripe, split, midnight, tide, forge, summit, nightfall, studio, grid; bold: slant, banner, dusk, bold, sidebar, badge, split, ember, marine, forge, carbon, poppy, coral, volt, hazard, flare; friendly: arch, wave, soft, warm, ember, grove, lagoon, tide, petal, capital, orchid, poppy, coral, linen, blush, sage, sprout, flare; dark: noir, onyx, midnight, crest, regent, nightfall, signal, carbon, terminal, seal, gilt, volt, hazard, blueprint; technical: mono, signal, terminal, grid, blueprint. Each one is pictured at https://thedesignprint.com/business-cards/templates and described in one line by GET https://thedesignprint.com/v1/business-cards/styles. | |
| title | No | New job title. Leave it out to keep the current one; send an empty string to take it off the card. | |
| address | No | New address. Leave it out to keep the current one; send an empty string to take it off the card. | |
| company | No | New company name. Leave it out to keep the current one; send an empty string to take it off the card. | |
| tagline | No | New line for the back of the card. Leave it out to keep the current one; send an empty string to take it off. | |
| website | No | New website. Leave it out to keep the current one; send an empty string to take it off the card. | |
| logo_url | No | New https link to a logo image. Leave it out to keep the current one; send an empty string to remove the logo. | |
| quantity | No | New quantity. Leave it out to keep the one already asked for. How many cards the user wants, if they said. There is a minimum order; a smaller number is raised to the minimum and the change is reported in the warnings. With a quantity, the result also gives the shipping options and an estimated total. It is preselected on the order page. | |
| accent_color | No | New hex accent color, e.g. '#0E7C66'. Leave it out to keep the current one; send an empty string to go back to the design's own color. |