Have It Printed is an MCP server published by com.haveitprinted, hosted at agents.haveitprinted.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 14 tools, including hip_get_service_info, hip_create_job, hip_get_upload_target, hip_add_text_document, hip_get_catalog.
Print and mail documents, letters and postcards to US addresses: price, checkout and order status.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
What Have It Printed does and what it costs: the products, prices, accepted file types and sizes, and how each is mailed. Call it when you need prices or limits; it needs no job and changes nothing. Returns a short summary and the same facts as structured fields. Needs a Bearer API key, like every tools/call (POST /v1/onboard to get one).
No parameters.
{
"name": "hip_get_service_info",
"title": "Service info",
"description": "What Have It Printed does and what it costs: the products, prices, accepted file types and sizes, and how each is mailed. Call it when you need prices or limits; it needs no job and changes nothing. Returns a short summary and the same facts as structured fields. Needs a Bearer API key, like every tools/call (POST /v1/onboard to get one).",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Service info",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start one print-and-mail job: one order of documents, or one letter or postcard written here. Call it first: every other job tool takes the job_handle it returns. Creates nothing chargeable. Returns job_handle, state and expires_at (an unpaid job expires).
No parameters.
{
"name": "hip_create_job",
"title": "Start a print-and-mail job",
"description": "Start one print-and-mail job: one order of documents, or one letter or postcard written here. Call it first: every other job tool takes the job_handle it returns. Creates nothing chargeable. Returns job_handle, state and expires_at (an unpaid job expires).",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Start a print-and-mail job",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Get a short-lived upload URL for a file the person already has (a PDF, Word file or image). Use this for an existing file; use hip_add_text_document for text you wrote with the person, or hip_set_letter for a letter in a handwriting-style font. Needs a job_handle from hip_create_job. Returns upload_url and required_headers: PUT the file's exact bytes there, then list it in hip_update_job's files. Send file_size, the file's exact size in bytes: the URL is signed for that size. File type and size limits are the same as the website.
| Parameter | Type | Description |
|---|---|---|
| filename * | string | the document's file name with its extension, e.g. lease.pdf. The extension decides how it is read: PDF, Word (.doc or .docx), text, RTF, ODT, or an image (JPG, PNG, TIFF, BMP, GIF or WebP). Use the same filename in hip_update_job's files. |
| file_size * | integer | the file's exact size in bytes; the PUT must send exactly this many |
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| content_type | string | optional: the file's MIME type, e.g. application/pdf. The upload URL is signed for it, so the PUT must send this exact Content-Type header (the result's required_headers). Left out, or not a plain type/subtype: application/octet-stream. |
{
"name": "hip_get_upload_target",
"title": "Get a document upload link",
"description": "Get a short-lived upload URL for a file the person already has (a PDF, Word file or image). Use this for an existing file; use hip_add_text_document for text you wrote with the person, or hip_set_letter for a letter in a handwriting-style font. Needs a job_handle from hip_create_job. Returns upload_url and required_headers: PUT the file's exact bytes there, then list it in hip_update_job's files. Send file_size, the file's exact size in bytes: the URL is signed for that size. File type and size limits are the same as the website.",
"inputSchema": {
"type": "object",
"required": [
"job_handle",
"filename",
"file_size"
],
"properties": {
"filename": {
"type": "string",
"examples": [
"lease.pdf"
],
"description": "the document's file name with its extension, e.g. lease.pdf. The extension decides how it is read: PDF, Word (.doc or .docx), text, RTF, ODT, or an image (JPG, PNG, TIFF, BMP, GIF or WebP). Use the same filename in hip_update_job's files."
},
"file_size": {
"type": "integer",
"maximum": 104857600,
"minimum": 1,
"description": "the file's exact size in bytes; the PUT must send exactly this many"
},
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"content_type": {
"type": "string",
"examples": [
"application/pdf"
],
"description": "optional: the file's MIME type, e.g. application/pdf. The upload URL is signed for it, so the PUT must send this exact Content-Type header (the result's required_headers). Left out, or not a plain type/subtype: application/octet-stream."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Get a document upload link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Typeset text you wrote with the person into a printed document (for a letter in a handwriting-style font, use hip_set_letter; for a file the person already has, use hip_get_upload_target). Needs a job_handle from hip_create_job. Add a letter or document whose text you wrote with the person. Have It Printed typesets it on US Letter paper in a clean serif font, in black and white, and counts its pages. Plain text only: separate paragraphs with a blank line; no images, tables or formatting. Call once per document. Returns the added document and its page count; next choose how it is mailed (hip_update_job) or get the price (hip_quote).
| Parameter | Type | Description |
|---|---|---|
| text * | string | the full text to print, exactly as it should read |
| title * | string | a short name for the document; it names the file and is not printed |
| copies | integer | copies (default 1) |
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
{
"name": "hip_add_text_document",
"title": "Add a written document",
"description": "Typeset text you wrote with the person into a printed document (for a letter in a handwriting-style font, use hip_set_letter; for a file the person already has, use hip_get_upload_target). Needs a job_handle from hip_create_job. Add a letter or document whose text you wrote with the person. Have It Printed typesets it on US Letter paper in a clean serif font, in black and white, and counts its pages. Plain text only: separate paragraphs with a blank line; no images, tables or formatting. Call once per document. Returns the added document and its page count; next choose how it is mailed (hip_update_job) or get the price (hip_quote).",
"inputSchema": {
"type": "object",
"required": [
"job_handle",
"title",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 60000,
"description": "the full text to print, exactly as it should read"
},
"title": {
"type": "string",
"maxLength": 100,
"description": "a short name for the document; it names the file and is not printed"
},
"copies": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "copies (default 1)"
},
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Add a written document",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}The options for a postcard or a letter written here: the handwriting-style fonts, the letter types, the stationery designs (with a preview picture each), the postcard sizes and fronts, and the mailing options. Read it before hip_set_postcard or hip_set_letter, and offer the person choices from it; never invent a font, design or front. Needs no job and changes nothing. Returns the options as structured fields.
No parameters.
{
"name": "hip_get_catalog",
"title": "Letter and postcard options",
"description": "The options for a postcard or a letter written here: the handwriting-style fonts, the letter types, the stationery designs (with a preview picture each), the postcard sizes and fronts, and the mailing options. Read it before hip_set_postcard or hip_set_letter, and offer the person choices from it; never invent a font, design or front. Needs no job and changes nothing. Returns the options as structured fields.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Letter and postcard options",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Needs a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a postcard on a job from hip_create_job: its size, its front (a front from hip_get_catalog), the message on the back in a handwriting-style font, and the name it is signed with. Have It Printed checks that the message fits the card and follows the card guidelines, and returns the price and preview pictures of both sides. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the card before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Postcards are printed in full color and mailed First-Class with no tracking. Never put a mailing address on the card or in this call: the person enters it at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.
| Parameter | Type | Description |
|---|---|---|
| font | string | a font from hip_get_catalog (default: the first) |
| size * | string | the card's size in inches |
| front * | string | a front id from hip_get_catalog (design:..., or card:... when listed) |
| message * | string | the message on the back, as it should read |
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| sender_name | string | the name the card is signed with |
Use this for a letter in a handwriting-style font; for a typeset document use hip_add_text_document, and for a file the person has use hip_get_upload_target. Needs a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a letter on a job from hip_create_job, printed in a handwriting-style font, optionally on a stationery design: the letter type, the font, the message, the greeting and sign-off, the name it is signed with, and how it is mailed (flat and tracked, a First-Class letter of up to 5 pages, or a Certified letter). Have It Printed checks it as its website does (fit, names, the design's own words), counts the pages, and returns the price and a preview picture of page 1. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the letter before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Never include an address: the person enters the mailing address at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.
| Parameter | Type | Description |
|---|---|---|
| font | string | a font from hip_get_catalog |
| color | boolean | print in color (default false: one ink) |
| fields | object | optional: a stationery design's or a card-style letter type's own words, by the keys hip_get_catalog lists (never an address) |
| mailing | string | tracked_document (default): flat in a rigid mailer with a tracking number. basic_letter: folded, First-Class, no tracking, up to 5 pages. certified_letter: the same by Certified Mail, with tracking |
| message * | string | the body of the letter, as it should read; separate paragraphs with a blank line. The greeting and sign-off are printed from greeting/greeting_name/signoff |
Set what a document job holds and how it is mailed: the documents uploaded with hip_get_upload_target (files replaces the whole list, so keep any added with hip_add_text_document), copies and color, the mailing option (product), the US recipient and options such as a return address. Use it after hip_create_job and the uploads; a letter or postcard written with hip_set_letter or hip_set_postcard carries its own options and takes no hip_update_job. Price fields are rejected: the server computes all amounts. Returns the updated job; call hip_quote next.
| Parameter | Type | Description |
|---|---|---|
| files | array | the job's full list of documents, each uploaded first with hip_get_upload_target. It replaces the list already on the job; list each document once. |
| options | object | optional job settings. product: how the job is mailed (the same as the product field). return_address: the US return address printed on the envelope, with name or company, line1, line2, city, state and zip; leave it out to use Have It Printed care of the buyer. |
| product | string | how the job is mailed. tracked_document (the default): printed and mailed flat in a rigid mailer with a free tracking number. basic_letter: up to 5 pages, one copy of each document, folded into a standard envelope and mailed First-Class, with no tracking. certified_letter: the same letter sent by Ce… |
| recipient | object | US mailing address |
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
The exact price for the job, from Have It Printed's own page count and the same pricing the website checkout uses. Call it after the documents and mailing option are set and before hip_create_checkout, and show the person the total; it stores this quote, and the checkout is bound to it. Tax, if any, is added by Stripe at payment: to pay on your own, get the payable total with hip_prepare_payment instead. Returns total, total_pages and line_items.
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
{
"name": "hip_quote",
"title": "Get the price",
"description": "The exact price for the job, from Have It Printed's own page count and the same pricing the website checkout uses. Call it after the documents and mailing option are set and before hip_create_checkout, and show the person the total; it stores this quote, and the checkout is bound to it. Tax, if any, is added by Stripe at payment: to pay on your own, get the payable total with hip_prepare_payment instead. Returns total, total_pages and line_items.",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Get the price",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a Stripe Checkout link for the job so the person pays on haveitprinted.com. This does NOT take payment: the person completes payment at checkout_url. Call it after hip_quote (show them the quote first); to pay with no person, use hip_prepare_payment and hip_complete_payment (when listed) instead. Returns checkout_url; then follow payment with hip_get_checkout_status.
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| customer_email | string | for the receipt and tracking email |
{
"name": "hip_create_checkout",
"title": "Create a checkout link",
"description": "Create a Stripe Checkout link for the job so the person pays on haveitprinted.com. This does NOT take payment: the person completes payment at checkout_url. Call it after hip_quote (show them the quote first); to pay with no person, use hip_prepare_payment and hip_complete_payment (when listed) instead. Returns checkout_url; then follow payment with hip_get_checkout_status.",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"customer_email": {
"type": "string",
"format": "email",
"description": "for the receipt and tracking email"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Create a checkout link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Whether the person has paid at the checkout link yet. Use it after hip_create_checkout, while waiting for payment; once paid is true, use hip_get_order for printing, shipping and tracking. Payment truth comes from the order record Stripe's webhook creates, never from a browser redirect. Returns paid, state and order_status, plus order_id once paid.
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
{
"name": "hip_get_checkout_status",
"title": "Check payment status",
"description": "Whether the person has paid at the checkout link yet. Use it after hip_create_checkout, while waiting for payment; once paid is true, use hip_get_order for printing, shipping and tracking. Payment truth comes from the order record Stripe's webhook creates, never from a browser redirect. Returns paid, state and order_status, plus order_id once paid.",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Check payment status",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Step 1 of paying on your own, with no person at a checkout page: call it after hip_quote and before hip_complete_payment. Resolve the EXACT amount HIP will charge, before any payment authorization is obtained or spent. This does NOT charge anything. Returns subtotal_cents, tax_cents, total_cents, currency, a pricing fingerprint and the authorization types HIP accepts. Tax is calculated by Stripe from the destination, so hip_quote alone is not the payable amount. The returned total is bound to this job's documents, options and recipient: change any of them and payment is refused with QUOTE_STALE until you prepare again. Use this when paying autonomously with a delegated payment authorization; a human paying in a browser does not need it. Commits the job to the autonomous payment rail.
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| buyer_email | string | optional: the buyer's email address. Have It Printed sends its order confirmation there once the payment succeeds. |
| address_confirmed | boolean | optional, no longer needed: accepted for compatibility and ignored. |
{
"name": "hip_prepare_payment",
"title": "Prepare the exact payable total",
"description": "Step 1 of paying on your own, with no person at a checkout page: call it after hip_quote and before hip_complete_payment. Resolve the EXACT amount HIP will charge, before any payment authorization is obtained or spent. This does NOT charge anything. Returns subtotal_cents, tax_cents, total_cents, currency, a pricing fingerprint and the authorization types HIP accepts. Tax is calculated by Stripe from the destination, so hip_quote alone is not the payable amount. The returned total is bound to this job's documents, options and recipient: change any of them and payment is refused with QUOTE_STALE until you prepare again. Use this when paying autonomously with a delegated payment authorization; a human paying in a browser does not need it. Commits the job to the autonomous payment rail.",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"buyer_email": {
"type": "string",
"format": "email",
"description": "optional: the buyer's email address. Have It Printed sends its order confirmation there once the payment succeeds."
},
"address_confirmed": {
"type": "boolean",
"description": "optional, no longer needed: accepted for compatibility and ignored."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Prepare the exact payable total",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Step 2 of paying on your own: call it right after hip_prepare_payment. Pay for the job with a delegated payment authorization, with no browser and no human step. payment_authorization must be a Stripe shared payment token (spt_...) granted to Have It Printed whose maximum is at least the total from hip_prepare_payment; HIP charges exactly that total and never more. NEVER send a card number, expiry, CVV or any reusable credential to this tool. If the cardholder's bank requires authentication, this returns payment_status=requires_user_action rather than bypassing it. Then use hip_get_order for printing, shipping and tracking.
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| tos_accepted | boolean | true only when the person paying has agreed to the Terms of Service (https://haveitprinted.com/terms.html) and content policy (https://haveitprinted.com/content-policy.html). Recorded on the order. |
| payment_authorization * | string | opaque delegated payment token (spt_...) |
{
"name": "hip_complete_payment",
"title": "Pay and send to print",
"description": "Step 2 of paying on your own: call it right after hip_prepare_payment. Pay for the job with a delegated payment authorization, with no browser and no human step. payment_authorization must be a Stripe shared payment token (spt_...) granted to Have It Printed whose maximum is at least the total from hip_prepare_payment; HIP charges exactly that total and never more. NEVER send a card number, expiry, CVV or any reusable credential to this tool. If the cardholder's bank requires authentication, this returns payment_status=requires_user_action rather than bypassing it. Then use hip_get_order for printing, shipping and tracking.",
"inputSchema": {
"type": "object",
"required": [
"job_handle",
"payment_authorization"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"tos_accepted": {
"type": "boolean",
"description": "true only when the person paying has agreed to the Terms of Service (https://haveitprinted.com/terms.html) and content policy (https://haveitprinted.com/content-policy.html). Recorded on the order."
},
"payment_authorization": {
"type": "string",
"description": "opaque delegated payment token (spt_...)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Pay and send to print",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Status and tracking for the paid order belonging to this job. Use it after payment (hip_get_checkout_status says paid, or hip_complete_payment succeeded); before payment it answers PAYMENT_PENDING, so use hip_get_checkout_status while waiting. Returns order_id and status, plus tracking_number and tracking_url once a shipping label exists (a First-Class letter has no tracking).
| Parameter | Type | Description |
|---|---|---|
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
{
"name": "hip_get_order",
"title": "Get order status and tracking",
"description": "Status and tracking for the paid order belonging to this job. Use it after payment (hip_get_checkout_status says paid, or hip_complete_payment succeeded); before payment it answers PAYMENT_PENDING, so use hip_get_checkout_status while waiting. Returns order_id and status, plus tracking_number and tracking_url once a shipping label exists (a First-Class letter has no tracking).",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Get order status and tracking",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Print a document and mail it to a US address. Get a Bearer API key with POST https://agents.haveitprinted.com/v1/onboard {"email": "..."}. Then call hip_create_job, hip_get_upload_target (PUT the file to upload_url), hip_update_job (files and recipient) and hip_quote. To pay, either call hip_create_checkout and send a person to checkout_url, or call hip_prepare_payment and then hip_complete_payment with a Stripe shared payment token (spt_...) whose maximum covers the prepared total. Poll hip_get_checkout_status until paid, then call hip_get_order for status and tracking.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| front_fields | object | only for a front design that lists fields: the words it shows |
{
"name": "hip_set_postcard",
"title": "Write a postcard",
"description": "Needs a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a postcard on a job from hip_create_job: its size, its front (a front from hip_get_catalog), the message on the back in a handwriting-style font, and the name it is signed with. Have It Printed checks that the message fits the card and follows the card guidelines, and returns the price and preview pictures of both sides. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the card before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Postcards are printed in full color and mailed First-Class with no tracking. Never put a mailing address on the card or in this call: the person enters it at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.",
"inputSchema": {
"type": "object",
"required": [
"job_handle",
"size",
"front",
"message"
],
"properties": {
"font": {
"type": "string",
"maxLength": 40,
"description": "a font from hip_get_catalog (default: the first)"
},
"size": {
"enum": [
"4x6",
"6x9",
"6x11"
],
"type": "string",
"description": "the card's size in inches"
},
"front": {
"type": "string",
"maxLength": 80,
"description": "a front id from hip_get_catalog (design:..., or card:... when listed)"
},
"message": {
"type": "string",
"maxLength": 4000,
"description": "the message on the back, as it should read"
},
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"sender_name": {
"type": "string",
"maxLength": 80,
"description": "the name the card is signed with"
},
"front_fields": {
"type": "object",
"description": "only for a front design that lists fields: the words it shows",
"additionalProperties": {
"type": [
"string",
"integer"
]
}
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Write a postcard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| signoff | string | optional: e.g. With love, |
| greeting | string | optional: the opening word, e.g. Dear |
| job_handle * | string | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
| stationery | string | optional: a stationery design from hip_get_catalog for this letter type |
| letter_type | string | a letter type from hip_get_catalog (default: a plain letter) |
| sender_name | string | the name the letter is signed with |
| greeting_name | string | optional: the name in the greeting, e.g. Mom (not an address) |
{
"name": "hip_set_letter",
"title": "Write a letter in a handwriting-style font",
"description": "Use this for a letter in a handwriting-style font; for a typeset document use hip_add_text_document, and for a file the person has use hip_get_upload_target. Needs a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a letter on a job from hip_create_job, printed in a handwriting-style font, optionally on a stationery design: the letter type, the font, the message, the greeting and sign-off, the name it is signed with, and how it is mailed (flat and tracked, a First-Class letter of up to 5 pages, or a Certified letter). Have It Printed checks it as its website does (fit, names, the design's own words), counts the pages, and returns the price and a preview picture of page 1. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the letter before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Never include an address: the person enters the mailing address at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.",
"inputSchema": {
"type": "object",
"required": [
"job_handle",
"message"
],
"properties": {
"font": {
"type": "string",
"maxLength": 40,
"description": "a font from hip_get_catalog"
},
"color": {
"type": "boolean",
"description": "print in color (default false: one ink)"
},
"fields": {
"type": "object",
"description": "optional: a stationery design's or a card-style letter type's own words, by the keys hip_get_catalog lists (never an address)",
"additionalProperties": {
"type": "string"
}
},
"mailing": {
"enum": [
"tracked_document",
"basic_letter",
"certified_letter"
],
"type": "string",
"description": "tracked_document (default): flat in a rigid mailer with a tracking number. basic_letter: folded, First-Class, no tracking, up to 5 pages. certified_letter: the same by Certified Mail, with tracking"
},
"message": {
"type": "string",
"maxLength": 60000,
"description": "the body of the letter, as it should read; separate paragraphs with a blank line. The greeting and sign-off are printed from greeting/greeting_name/signoff"
},
"signoff": {
"type": "string",
"maxLength": 60,
"description": "optional: e.g. With love,"
},
"greeting": {
"type": "string",
"maxLength": 60,
"description": "optional: the opening word, e.g. Dear"
},
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
},
"stationery": {
"type": "string",
"maxLength": 60,
"description": "optional: a stationery design from hip_get_catalog for this letter type"
},
"letter_type": {
"type": "string",
"maxLength": 40,
"description": "a letter type from hip_get_catalog (default: a plain letter)"
},
"sender_name": {
"type": "string",
"maxLength": 80,
"description": "the name the letter is signed with"
},
"greeting_name": {
"type": "string",
"maxLength": 80,
"description": "optional: the name in the greeting, e.g. Mom (not an address)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Write a letter in a handwriting-style font",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "hip_update_job",
"title": "Set documents and recipient",
"description": "Set what a document job holds and how it is mailed: the documents uploaded with hip_get_upload_target (files replaces the whole list, so keep any added with hip_add_text_document), copies and color, the mailing option (product), the US recipient and options such as a return address. Use it after hip_create_job and the uploads; a letter or postcard written with hip_set_letter or hip_set_postcard carries its own options and takes no hip_update_job. Price fields are rejected: the server computes all amounts. Returns the updated job; call hip_quote next.",
"inputSchema": {
"type": "object",
"required": [
"job_handle"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename",
"pages"
],
"properties": {
"size": {
"enum": [
"8.5x11"
],
"type": "string",
"description": "paper size: US Letter (8.5x11) only; may be left out"
},
"color": {
"enum": [
"bw",
"color"
],
"type": "string",
"description": "bw: black & white (the default); color: full color"
},
"pages": {
"type": "integer",
"minimum": 1,
"description": "your page count for this document. The price uses Have It Printed's own count of the uploaded file."
},
"filename": {
"type": "string",
"description": "the filename given to hip_get_upload_target"
},
"quantity": {
"type": "integer",
"minimum": 1,
"description": "copies of this document (default 1)"
}
},
"description": "one document on the job",
"additionalProperties": false
},
"description": "the job's full list of documents, each uploaded first with hip_get_upload_target. It replaces the list already on the job; list each document once."
},
"options": {
"type": "object",
"properties": {
"product": {
"enum": [
"tracked_document",
"basic_letter",
"certified_letter"
],
"type": "string",
"description": "how the job is mailed; the product field does the same"
},
"return_address": {
"type": "object",
"description": "optional: the envelope's US return address: name or company, line1, line2, city, state (2 letters) and zip",
"additionalProperties": true
}
},
"description": "optional job settings. product: how the job is mailed (the same as the product field). return_address: the US return address printed on the envelope, with name or company, line1, line2, city, state and zip; leave it out to use Have It Printed care of the buyer.",
"additionalProperties": true
},
"product": {
"enum": [
"tracked_document",
"basic_letter",
"certified_letter"
],
"type": "string",
"description": "how the job is mailed. tracked_document (the default): printed and mailed flat in a rigid mailer with a free tracking number. basic_letter: up to 5 pages, one copy of each document, folded into a standard envelope and mailed First-Class, with no tracking. certified_letter: the same letter sent by Certified Mail, with a tracking number. hip_get_service_info has the prices."
},
"recipient": {
"type": "object",
"required": [
"name",
"line1",
"city",
"state",
"zip"
],
"properties": {
"zip": {
"type": "string",
"pattern": "^\\d{5}(-\\d{4})?$",
"description": "5-digit US ZIP code or ZIP+4"
},
"city": {
"type": "string",
"description": "city"
},
"name": {
"type": "string",
"description": "the person or business the mail is addressed to"
},
"line1": {
"type": "string",
"description": "street address, e.g. 123 Main St"
},
"line2": {
"type": "string",
"description": "optional: apartment, suite or unit"
},
"state": {
"type": "string",
"description": "2-letter US state code"
},
"country": {
"type": "string",
"default": "US",
"description": "US (the default); only US addresses are mailed"
}
},
"description": "US mailing address"
},
"job_handle": {
"type": "string",
"pattern": "^job_[0-9a-f]{32}$",
"examples": [
"job_0123456789abcdef0123456789abcdef"
],
"description": "the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set documents and recipient",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}