Create a business card design
create_business_card_designApplies the buyer's field values (and logo, if the template needs one) to a template, fits the text to its printable area, renders both sides as preview images, and returns a design token. Before creating a guest design, explain: unpaid, unsaved drafts expire 30 days after the design request starts. Verified saving keeps the draft; checkout and unresolved purchase artwork is protected. Seven-day token expiry is separate from deletion. Call list_business_card_templates first and collect a non-blank value for every field it lists, keyed by attribute; a blank or missing value fails with missing_required_fields. Pass a public https PNG or JPEG URL as logoUrl only when the template has an imageUrl field; omit it otherwise. Returns designToken, designId, templateId, revisionId, expiresAt (7 days out), previews (a 300-second signed URL plus width/height for each side; the pixels are also attached as image content blocks), and any text_shrunk warnings from fitting a value to its layer. Present both attached proof images directly, or provide labeled front/back links to the exact preview URLs if the host cannot display them. Do not require computer setup, downloads or re-uploading for proof review. Refresh expired links rather than creating another design. An accountOwned result identifies a verified customer, not an integration key. Results also include a private saveUrl for browser ownership verification; offer it only when the buyer wants to save. Saving requires sign-in; subsequent checkout of that design requires an AI connection authorized by the same InkFE account. If customer OAuth is unavailable, complete checkout before saving. Use a stable requestId; retry the same request after a timeout. Revise with revise_business_card_design and refresh expired links with refresh_design_proof. Show both previews and warnings, get exact print options and get_quote, then record explicit customer approval with approve_design_proof before create_checkout. Fails with unknown_template, missing_required_fields {attributes}, unknown_field {attribute}, value_too_long {attribute}, unsupported_characters {attribute}, logo_required, logo_fetch_failed, logo_unsupported, rate_limited {retryAfterSeconds} (too many designs from this API key in a short time), or connector_unavailable.
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": {
"requestId": "<requestId>",
"templateId": "<templateId>",
"fields": "<fields>"
},
"name": "create_business_card_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Every attribute from the chosen template's `fields` list (see list_business_card_templates) is required, keyed by `attribute`, with the buyer's text for it. Do not include the logo field here: pass its image via logoUrl instead. A blank or missing value fails with missing_required_fields. | |
| logoUrl | No | A public https URL to a PNG or JPEG logo image, required only when the template has an imageUrl field (see list_business_card_templates). Omit it for every other template. | |
| requestId | Yes | A new stable requestId for each intentional design/revision. Reuse the same id and inputs after a timeout; never automatically replace an in-progress request. | |
| guestToken | No | Private guestToken from start_guest_session, required only for anonymous guest design and checkout. Omit when connected through InkFE customer sign-in (OAuth) or a provisioned integration key; those connections must not start a guest session. Keep guest tokens in this conversation; never put them in a URL or share them. | |
| templateId | Yes | The templateId from list_business_card_templates identifying which Classic business card to design. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proof | Yes | Immutable proof identity used by approval. | |
| saveUrl | No | Private browser link to save the design to an InkFE account. | |
| designId | Yes | ||
| nextStep | Yes | ||
| previews | Yes | Front and back proof images; also attached as image content. | |
| warnings | Yes | Fitting adjustments to show the buyer with the proofs. | |
| expiresAt | Yes | When the designToken expires. | |
| revisionId | Yes | ||
| templateId | Yes | ||
| designToken | Yes | Private token for this immutable design; keep in the conversation. | |
| accountOwned | No | Present when a verified customer owns the design. | |
| draftRetention | No | Present for guest drafts: how long an unsaved draft is kept. |