Print and Mail Company is an MCP server published by com.printandmailcompany, hosted at printandmailcompany.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 14 tools, including get_price_quote, list_destinations, check_pdf_margins, compose_letter, upload_document.
Print and mail real letters worldwide from the EU, incl. registered mail. Quote, compose, send.
715 connections through 5 shared values. Tap any node.
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.
Use this when the user asks what it costs to send a physical letter by post (snail mail), including a registered letter. Returns the exact total incl. VAT (for a signed-in EU business customer with a confirmed VAT number: excl. VAT under the reverse charge), the line items, the envelope, the postal size class and zone and the typical delivery time for a page count, destination country and print options. Letters are printed and posted in Europe, so the sender can be anywhere in the world. Note: registered mail is international registered mail with tracking and signature on delivery; "certified" letters, Einschreiben, lettre recommandée and carta certificada mean this here (not a US certified-mail product). Works without sign-in. Set currency to get the total in USD, GBP or CHF (ECB rate plus currency margin). Does not cover email, fax, parcels or postcards.
| Parameter | Type | Description |
|---|---|---|
| color | string | "bw" = black and white, "color" = colour printing (costs more per page). Default "bw". |
| pages * | integer | Number of pages in the PDF, a whole number from 1 to 250, e.g. 2. |
| duplex | boolean | true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false. |
| country * | string | Destination country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US (list_destinations lists them all). |
| currency | string | Currency for the total: "EUR", "USD", "GBP" or "CHF". Prices are set in EUR; for USD, GBP or CHF the result adds the total converted at the ECB rate plus a currency margin. Default "EUR". |
| envelope | string | "DL" (220×110 mm, letter folded twice), "C5" (229×162 mm, folded once) or "C4" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused. |
| registered | boolean | true = registered mail: tracking number and signature on delivery, for an extra fee (also what "certified" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false. |
| postal_code | string | Destination postcode, e.g. 07001. Optional: it only changes the price for the Spanish and Portuguese islands and enclaves (Balearic and Canary Islands, Ceuta, Melilla, Madeira, Azores). |
{
"name": "get_price_quote",
"title": "Get price quote",
"description": "Use this when the user asks what it costs to send a physical letter by post (snail mail), including a registered letter. Returns the exact total incl. VAT (for a signed-in EU business customer with a confirmed VAT number: excl. VAT under the reverse charge), the line items, the envelope, the postal size class and zone and the typical delivery time for a page count, destination country and print options. Letters are printed and posted in Europe, so the sender can be anywhere in the world. Note: registered mail is international registered mail with tracking and signature on delivery; \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean this here (not a US certified-mail product). Works without sign-in. Set currency to get the total in USD, GBP or CHF (ECB rate plus currency margin). Does not cover email, fax, parcels or postcards.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pages",
"country"
],
"properties": {
"color": {
"enum": [
"bw",
"color"
],
"type": "string",
"default": "bw",
"description": "\"bw\" = black and white, \"color\" = colour printing (costs more per page). Default \"bw\"."
},
"pages": {
"type": "integer",
"maximum": 250,
"minimum": 1,
"description": "Number of pages in the PDF, a whole number from 1 to 250, e.g. 2."
},
"duplex": {
"type": "boolean",
"default": false,
"description": "true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Destination country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US (list_destinations lists them all)."
},
"currency": {
"enum": [
"EUR",
"USD",
"GBP",
"CHF"
],
"type": "string",
"default": "EUR",
"description": "Currency for the total: \"EUR\", \"USD\", \"GBP\" or \"CHF\". Prices are set in EUR; for USD, GBP or CHF the result adds the total converted at the ECB rate plus a currency margin. Default \"EUR\"."
},
"envelope": {
"enum": [
"DL",
"C5",
"C4"
],
"type": "string",
"description": "\"DL\" (220×110 mm, letter folded twice), \"C5\" (229×162 mm, folded once) or \"C4\" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused."
},
"registered": {
"type": "boolean",
"default": false,
"description": "true = registered mail: tracking number and signature on delivery, for an extra fee (also what \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Destination postcode, e.g. 07001. Optional: it only changes the price for the Spanish and Portuguese islands and enclaves (Balearic and Canary Islands, Ceuta, Melilla, Madeira, Azores)."
}
}
},
"annotations": {
"title": "Get price quote",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks whether a letter can be posted to a country, or which countries can be reached. Without country: all destination countries with their postage zone. With country: that country's zone, the price of a 1-page standard and registered letter, and the typical delivery time. Works without sign-in. Letters only, no parcels.
| Parameter | Type | Description |
|---|---|---|
| country | string | ISO 3166-1 alpha-2 code of one country, e.g. DE: returns its zone, 1-page prices and delivery time. Omit to list every destination country. |
{
"name": "list_destinations",
"title": "List destinations",
"description": "Use this when the user asks whether a letter can be posted to a country, or which countries can be reached. Without country: all destination countries with their postage zone. With country: that country's zone, the price of a 1-page standard and registered letter, and the typical delivery time. Works without sign-in. Letters only, no parcels.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 code of one country, e.g. DE: returns its zone, 1-page prices and delivery time. Omit to list every destination country."
}
}
},
"annotations": {
"title": "List destinations",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user has a PDF they want printed and posted and it should be checked first: verifies the page size (A4 or US Letter) and the required free margin on every side, and lists the pages that need changes. We print on the paper size uploaded (printed_on): A4 on A4, US Letter on US Letter (for a recipient outside the US, Canada and US territories the user may choose A4 instead when sending); a PDF mixing A4 and US Letter pages is printed on A4, its Letter pages centred at 100 % or scaled down slightly when content comes close to the edge (us_letter_note, pages[].scale_percent). Decide by compliant: all_pages_a4 is false for a US Letter PDF, which is printable. Accepts a public https URL or base64. The file is not stored and nothing is sent. Works without sign-in. To fix a failing PDF, upload it with upload_document and use fix_document_margins.
| Parameter | Type | Description |
|---|---|---|
| pdf_url | string | Public https URL of the PDF (A4 or US Letter pages), e.g. https://example.com/letter.pdf. Pass pdf_url or pdf_base64. |
| pdf_base64 | string | The PDF file as base64 (a data:application/pdf;base64, prefix is fine), for files up to about 3 MB. Pass pdf_url or pdf_base64. Larger files: pass pdf_url, or use create_upload_link. |
{
"name": "check_pdf_margins",
"title": "Check PDF for printing",
"description": "Use this when the user has a PDF they want printed and posted and it should be checked first: verifies the page size (A4 or US Letter) and the required free margin on every side, and lists the pages that need changes. We print on the paper size uploaded (printed_on): A4 on A4, US Letter on US Letter (for a recipient outside the US, Canada and US territories the user may choose A4 instead when sending); a PDF mixing A4 and US Letter pages is printed on A4, its Letter pages centred at 100 % or scaled down slightly when content comes close to the edge (us_letter_note, pages[].scale_percent). Decide by compliant: all_pages_a4 is false for a US Letter PDF, which is printable. Accepts a public https URL or base64. The file is not stored and nothing is sent. Works without sign-in. To fix a failing PDF, upload it with upload_document and use fix_document_margins.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"pdf_url": {
"type": "string",
"format": "uri",
"description": "Public https URL of the PDF (A4 or US Letter pages), e.g. https://example.com/letter.pdf. Pass pdf_url or pdf_base64."
},
"pdf_base64": {
"type": "string",
"description": "The PDF file as base64 (a data:application/pdf;base64, prefix is fine), for files up to about 3 MB. Pass pdf_url or pdf_base64. Larger files: pass pdf_url, or use create_upload_link."
}
}
},
"annotations": {
"title": "Check PDF for printing",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants to write a new paper letter from text and post it, for example to cancel a contract, subscription or membership by letter, file a complaint or objection, or send a formal notice, by ordinary or registered mail. Renders an A4 letter (DIN 5008 layout: sender block with the user's own name and address, recipient, place and date, subject, body, closing, signature) that passes the print check, and creates a draft with the exact price. Nothing is sent or charged: show the user the draft and the total, ask for confirmation, then call send_letter. The sender can live in any country. For the account's first letter the sender block must carry the user's REAL full name (first and last name, no alias, nickname or pseudonym) and postal address: it is then saved as the account's sender details; without valid ones the call fails with SENDER_DETAILS_REQUIRED. Once the account has sender details, the sender block is printed as given and the saved details stay as they are (sender_details: on_file when the block matches them, kept when it differs): the user changes them in Settings → Your details. Body supports paragraphs (blank line), '- ' bullets, '1. ' lists and **bold**. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| body * | string | Letter text including the salutation (e.g. 'Dear Sir or Madam,'), without closing or signature. Blank line = new paragraph; '- ' bullets, '1. ' numbered lists and **bold** work. Up to 20,000 characters. |
| date | string | Date of the letter as an ISO date (YYYY-MM-DD), e.g. 2026-10-08. Default: today. |
| color | string | "bw" = black and white, "color" = colour printing (costs more per page). Default "bw". |
| place | string | Place printed before the date, usually the user's city, e.g. Berlin. Optional. |
| duplex | boolean |
Use this when the user already has a PDF (public https URL or base64) that should be printed and posted. Stores the file in the user's account, runs the print check (A4 or US Letter, free margins; printed_on says the paper: US Letter PDFs are printed on US Letter, a PDF mixing A4 and US Letter pages on A4, see us_letter_note; decide by compliant, as all_pages_a4 is false for a US Letter PDF) and returns document_id for create_letter. If the check fails, call fix_document_margins or ask the user for a corrected file. For a file on the user's own device, use create_upload_link instead. Sends nothing. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| pdf_url | string | Public https URL of the PDF (A4 or US Letter pages), e.g. https://example.com/letter.pdf. Pass pdf_url or pdf_base64. |
| file_name | string | Name to store the file under, e.g. cancellation.pdf. Default: the name from the URL, or "document.pdf". |
| pdf_base64 | string | The PDF file as base64 (a data:application/pdf;base64, prefix is fine), for files up to about 3 MB. Pass pdf_url or pdf_base64. Larger files: pass pdf_url, or use create_upload_link. |
{
"name": "upload_document",
"title": "Upload a PDF",
"description": "Use this when the user already has a PDF (public https URL or base64) that should be printed and posted. Stores the file in the user's account, runs the print check (A4 or US Letter, free margins; printed_on says the paper: US Letter PDFs are printed on US Letter, a PDF mixing A4 and US Letter pages on A4, see us_letter_note; decide by compliant, as all_pages_a4 is false for a US Letter PDF) and returns document_id for create_letter. If the check fails, call fix_document_margins or ask the user for a corrected file. For a file on the user's own device, use create_upload_link instead. Sends nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"pdf_url": {
"type": "string",
"format": "uri",
"description": "Public https URL of the PDF (A4 or US Letter pages), e.g. https://example.com/letter.pdf. Pass pdf_url or pdf_base64."
},
"file_name": {
"type": "string",
"maxLength": 120,
"description": "Name to store the file under, e.g. cancellation.pdf. Default: the name from the URL, or \"document.pdf\"."
},
"pdf_base64": {
"type": "string",
"description": "The PDF file as base64 (a data:application/pdf;base64, prefix is fine), for files up to about 3 MB. Pass pdf_url or pdf_base64. Larger files: pass pdf_url, or use create_upload_link."
}
}
},
"annotations": {
"title": "Upload a PDF",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Use this when an uploaded PDF fails the print check because content is too close to the edge or pages are neither A4 nor US Letter. mode "shrink" (default) scales the affected pages down slightly and centres them on their paper (US Letter for a US Letter PDF, else A4); nothing is lost. mode "crop" keeps pages at 100 % and removes everything inside the margin band, so that content is NOT printed (pages of other sizes are first fitted onto A4). The US Letter pages of a mixed PDF that already fit on A4 keep their placement. The original upload is kept; calling again with the other mode replaces the earlier fix. If content touches the edge, ask the user which mode they prefer and tell them what changed. Not possible once the letter is paid. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| mode | string | "shrink" = scale pages down slightly, nothing lost; "crop" = keep 100 % size and cut off everything inside the margin (that content is not printed). Default "shrink". |
| document_id * | string | document_id returned by upload_document or compose_letter, e.g. doc_2h7k9m4q8x1v3c6b0n5p. |
{
"name": "fix_document_margins",
"title": "Fix document margins",
"description": "Use this when an uploaded PDF fails the print check because content is too close to the edge or pages are neither A4 nor US Letter. mode \"shrink\" (default) scales the affected pages down slightly and centres them on their paper (US Letter for a US Letter PDF, else A4); nothing is lost. mode \"crop\" keeps pages at 100 % and removes everything inside the margin band, so that content is NOT printed (pages of other sizes are first fitted onto A4). The US Letter pages of a mixed PDF that already fit on A4 keep their placement. The original upload is kept; calling again with the other mode replaces the earlier fix. If content touches the edge, ask the user which mode they prefer and tell them what changed. Not possible once the letter is paid. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"document_id"
],
"properties": {
"mode": {
"enum": [
"shrink",
"crop"
],
"type": "string",
"default": "shrink",
"description": "\"shrink\" = scale pages down slightly, nothing lost; \"crop\" = keep 100 % size and cut off everything inside the margin (that content is not printed). Default \"shrink\"."
},
"document_id": {
"type": "string",
"description": "document_id returned by upload_document or compose_letter, e.g. doc_2h7k9m4q8x1v3c6b0n5p."
}
}
},
"annotations": {
"title": "Fix document margins",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when the user wants to post a PDF that is on their own device and cannot be passed as a URL or base64. Creates a private upload page (valid 60 minutes); give the URL to the user, and once they have uploaded, pass upload_id to create_letter. Sends nothing. Needs the user's account.
No parameters.
{
"name": "create_upload_link",
"title": "Create upload link",
"description": "Use this when the user wants to post a PDF that is on their own device and cannot be passed as a URL or base64. Creates a private upload page (valid 60 minutes); give the URL to the user, and once they have uploaded, pass upload_id to create_letter. Sends nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Create upload link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Use this when the user has an uploaded PDF (document_id, or upload_id from create_upload_link) and a recipient address and wants it posted by ordinary or registered mail; registered mail is international registered mail with tracking and signature on delivery; "certified" letters, Einschreiben, lettre recommandée and carta certificada mean this here (not a US certified-mail product). Creates a draft with the exact total in the user's currency. Nothing is sent or charged; call send_letter only after the user confirms. Every envelope shows the user as the sender at the top left ("Sent on behalf of:" and their name and postal address, or their company name and business address if the account has business details). The account's first letter needs the user's sender details, their REAL full name (no alias, nickname or pseudonym) and postal address: pass them as sender; without them (and none saved before) the call fails with SENDER_DETAILS_REQUIRED. Once the account has them, the saved details are used (sender_details "on_file"; "kept" when a different sender was passed, which is not saved): the user changes them in Settings → Your details. A US Letter PDF to a recipient outside the US, Canada and US territories needs the user's paper choice (paper_size, same price): without it the draft says paper_choice_required. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| color | string | "bw" = black and white, "color" = colour printing (costs more per page). Default "bw". |
| duplex | boolean | true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false. |
| sender | object | The user's own sender details: their REAL full name (first and last name, not an alias, nickname or pseudonym) and postal address, any country. Optional: needed only while the account has no sender details yet; they are then checked and saved to the account. Once the account has them, the saved deta… |
| envelope | string | "DL" (220×110 mm, letter folded twice), "C5" (229×162 mm, folded once) or "C4" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused. |
Use this when the user has explicitly confirmed a specific draft letter (recipient, content and total price) and wants it printed and posted. Pays the letter from the user's prepaid credit and releases it to print; it can be cancelled with cancel_letter only until production starts. Only call this after that confirmation and after the user agreed to the Terms (https://printandmailcompany.com/en/legal/terms) and to printing starting immediately (which ends the consumer right of withdrawal once printed). If credit is too low, the result contains a payment link for the user; the assistant cannot pay. A US Letter PDF to a recipient outside the US, Canada and US territories needs paper_size (ask the user: shrink to A4, recommended, or keep US Letter; same price); without it the call fails with PAPER_CHOICE_REQUIRED and nothing is charged. While the account has no sender details (the user's REAL full name, no alias, and postal address) the call fails with SENDER_DETAILS_REQUIRED and nothing is charged: ask the user for them and call send_letter again with them as sender (saved to the account before paying; once the account has them, the saved details are used). Posts paper letters only: no email, fax or parcels. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| sender | object | The user's own sender details: their REAL full name (first and last name, not an alias, nickname or pseudonym) and postal address, any country. Optional: needed only while the account has no sender details yet (SENDER_DETAILS_REQUIRED); they are then checked and saved to the account before paying. O… |
| confirm * | boolean | Must be true: the user explicitly confirmed sending this letter (recipient, content and total price). |
| letter_id * | string | letter_id of the draft the user confirmed, from create_letter or compose_letter, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Sending charges its total to the user's prepaid credit. |
Use this when the user asks about a letter they created here: status (draft, paid, in_production, printed, posted, cancelled, returned), tracking number for registered mail, and price. Look up by letter_id or reference (PM-XXXXXX). Changes nothing. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| letter_id | string | letter_id from create_letter, compose_letter or list_letters, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Pass letter_id or reference. |
| reference | string | The letter's reference as shown to the user, format PM-XXXXXX, e.g. PM-7K3QH9. Pass letter_id or reference. |
{
"name": "get_letter",
"title": "Get letter",
"description": "Use this when the user asks about a letter they created here: status (draft, paid, in_production, printed, posted, cancelled, returned), tracking number for registered mail, and price. Look up by letter_id or reference (PM-XXXXXX). Changes nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"letter_id": {
"type": "string",
"description": "letter_id from create_letter, compose_letter or list_letters, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Pass letter_id or reference."
},
"reference": {
"type": "string",
"description": "The letter's reference as shown to the user, format PM-XXXXXX, e.g. PM-7K3QH9. Pass letter_id or reference."
}
}
},
"annotations": {
"title": "Get letter",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants to see their recent letters, optionally filtered by status. Returns status, recipient, price and tracking number per letter. Changes nothing. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many letters to return, newest first: a whole number from 1 to 50. Default 10. |
| status | string | Only letters with this status, e.g. draft or posted. Omit for letters in any status. |
{
"name": "list_letters",
"title": "List letters",
"description": "Use this when the user wants to see their recent letters, optionally filtered by status. Returns status, recipient, price and tracking number per letter. Changes nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "How many letters to return, newest first: a whole number from 1 to 50. Default 10."
},
"status": {
"enum": [
"draft",
"paid",
"in_production",
"printed",
"posted",
"cancelled",
"returned"
],
"type": "string",
"description": "Only letters with this status, e.g. draft or posted. Omit for letters in any status."
}
}
},
"annotations": {
"title": "List letters",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants to stop a letter they created here: cancels a draft, or a paid letter that has not gone into production yet, and returns the amount to the user's credit. Letters already printed or posted cannot be recalled. This cancels our letter, not a contract the user has with someone else (for that, compose_letter writes the cancellation letter). Ask the user before cancelling. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| letter_id * | string | letter_id of the letter to cancel, from create_letter, compose_letter or list_letters, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Only drafts and paid letters not yet in production can be cancelled. |
{
"name": "cancel_letter",
"title": "Cancel letter",
"description": "Use this when the user wants to stop a letter they created here: cancels a draft, or a paid letter that has not gone into production yet, and returns the amount to the user's credit. Letters already printed or posted cannot be recalled. This cancels our letter, not a contract the user has with someone else (for that, compose_letter writes the cancellation letter). Ask the user before cancelling. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"letter_id"
],
"properties": {
"letter_id": {
"type": "string",
"description": "letter_id of the letter to cancel, from create_letter, compose_letter or list_letters, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Only drafts and paid letters not yet in production can be cancelled."
}
}
},
"annotations": {
"title": "Cancel letter",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when the user asks how much prepaid credit they have, or to check before sending that the credit covers a letter. Returns the credit, the account currency and the minimum top-up. Changes nothing. Needs the user's account.
No parameters.
{
"name": "get_balance",
"title": "Get credit balance",
"description": "Use this when the user asks how much prepaid credit they have, or to check before sending that the credit covers a letter. Returns the credit, the account currency and the minimum top-up. Changes nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get credit balance",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user needs to add credit, or to pay one specific draft letter by card. Returns a link to the payment page on printandmailcompany.com; give it to the user, who pays there. The assistant cannot pay, and calling this tool charges nothing. Needs the user's account.
| Parameter | Type | Description |
|---|---|---|
| letter_id | string | letter_id of a draft, e.g. ltr_8f3k2m9q4x7v1c6b0n5p: the link then pays that letter by card. Omit for a link to add prepaid credit. |
{
"name": "create_topup_link",
"title": "Create payment link",
"description": "Use this when the user needs to add credit, or to pay one specific draft letter by card. Returns a link to the payment page on printandmailcompany.com; give it to the user, who pays there. The assistant cannot pay, and calling this tool charges nothing. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"letter_id": {
"type": "string",
"description": "letter_id of a draft, e.g. ltr_8f3k2m9q4x7v1c6b0n5p: the link then pays that letter by card. Omit for a link to add prepaid credit."
}
}
},
"annotations": {
"title": "Create payment link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Print and Mail Company prints letters on paper and posts them by ordinary or registered mail to recipients in most countries (list_destinations). Letters are printed and posted in Germany, France, Belgium or Luxembourg and delivered by postal carriers. The sender can be anywhere in the world; no local address or postal account is needed. It covers: sending a letter by post (snail mail), registered letters ("certified" letters here means international registered mail with tracking and signature on delivery, not a US certified-mail product; also Einschreiben, lettre recommandée, carta certificada), and cancelling a contract, subscription or membership by letter. It does not send email, fax, parcels or postcards. Without sign-in: get_price_quote, list_destinations, check_pdf_margins. All other tools work on the user's account; the first call to one of them asks the user to sign in. Typical flow: (1) get_price_quote if the user asks about cost; (2) compose_letter to write a new letter from text, or upload_document / create_upload_link for an existing PDF; (3) create_letter (if not already created by compose_letter) to get a draft with the exact price; (4) show the user the recipient address, a summary of the letter content and the exact total, and ask for explicit confirmation; (5) only then call send_letter with confirm=true. Rules: never send without explicit user confirmation; letters are paid from the user's prepaid credit and the assistant never pays: if credit is low, give the user the payment link; PDFs must be A4 or US Letter with 9 mm free margins (fix_document_margins can shrink pages or crop the margins); we print on the paper size uploaded: A4 PDFs on A4, US Letter PDFs on US Letter, and a PDF mixing both on A4 (its Letter pages centred); for a US Letter PDF to a recipient outside the US, Canada and US territories, ask the user "shrink to A4 (recommended) or keep US Letter?" and pass paper_size ("a4" or "us_letter") to create_letter or send_letter (same price; a draft says paper_choice_required until then); every envelope shows the sender at the top left after "Sent on behalf of:" (the user's name and address from their sender details, or their company name and business address if the account has business details), and undeliverable letters are returned to that address; before the account's first letter we need the user's sender details: their REAL full name (first and last name, never an alias, nickname or pseudonym) and postal address (compose_letter saves its sender block as them, create_letter and send_letter take them as sender, saved only while the account has none: changes go through the user's Settings → Your details; without them tools answer SENDER_DETAILS_REQUIRED: ask the user, then call the same tool again with sender); prices include VAT, except for a signed-in business customer in another EU country whose VAT number is confirmed (reverse charge: net prices, marked "excl. VAT — reverse charge"); registered mail gives a tracking number.
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.
| true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false. |
| sender * | object | The user's own name and address (any country), printed in the letter's sender block. Use the user's REAL full name, not an alias, nickname or pseudonym: for an account without sender details yet, this block is checked and saved as them; once the account has them, they stay as they are. The user's sa… |
| closing | string | Closing phrase, e.g. 'Kind regards'. Default: the usual closing in the letter's language. |
| subject * | string | Subject line printed above the body, e.g. Cancellation of my contract no. 12345 (up to 200 characters). |
| envelope | string | "DL" (220×110 mm, letter folded twice), "C5" (229×162 mm, folded once) or "C4" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused. |
| language | string | Language of the letter as an ISO 639-1 code, e.g. en, de, fr, es, pt, it or nl; sets the date format and the default closing. Default "en". |
| recipient * | object | Recipient's postal address, printed in the letter's address field and on the envelope. Ask the user for missing fields. |
| signature | string | Name printed under the closing, e.g. Max Mustermann. Default: the sender's name. |
| references | array | Up to 5 reference lines printed above the subject, e.g. ["Customer no. 12345", "Contract no. 987"]. Optional. |
| registered | boolean | true = registered mail: tracking number and signature on delivery, for an extra fee (also what "certified" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false. Often wanted for cancellations and deadlines. |
{
"name": "compose_letter",
"title": "Compose a letter",
"description": "Use this when the user wants to write a new paper letter from text and post it, for example to cancel a contract, subscription or membership by letter, file a complaint or objection, or send a formal notice, by ordinary or registered mail. Renders an A4 letter (DIN 5008 layout: sender block with the user's own name and address, recipient, place and date, subject, body, closing, signature) that passes the print check, and creates a draft with the exact price. Nothing is sent or charged: show the user the draft and the total, ask for confirmation, then call send_letter. The sender can live in any country. For the account's first letter the sender block must carry the user's REAL full name (first and last name, no alias, nickname or pseudonym) and postal address: it is then saved as the account's sender details; without valid ones the call fails with SENDER_DETAILS_REQUIRED. Once the account has sender details, the sender block is printed as given and the saved details stay as they are (sender_details: on_file when the block matches them, kept when it differs): the user changes them in Settings → Your details. Body supports paragraphs (blank line), '- ' bullets, '1. ' lists and **bold**. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"sender",
"recipient",
"subject",
"body"
],
"properties": {
"body": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "Letter text including the salutation (e.g. 'Dear Sir or Madam,'), without closing or signature. Blank line = new paragraph; '- ' bullets, '1. ' numbered lists and **bold** work. Up to 20,000 characters."
},
"date": {
"type": "string",
"description": "Date of the letter as an ISO date (YYYY-MM-DD), e.g. 2026-10-08. Default: today."
},
"color": {
"enum": [
"bw",
"color"
],
"type": "string",
"default": "bw",
"description": "\"bw\" = black and white, \"color\" = colour printing (costs more per page). Default \"bw\"."
},
"place": {
"type": "string",
"maxLength": 60,
"description": "Place printed before the date, usually the user's city, e.g. Berlin. Optional."
},
"duplex": {
"type": "boolean",
"default": false,
"description": "true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false."
},
"sender": {
"type": "object",
"required": [
"name",
"line1",
"city",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "City or town, e.g. Berlin."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "The user's full name: their REAL first and last name, not an alias, nickname or pseudonym, e.g. Anna Schmidt."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "The user's email address, printed in the sender block, e.g. max@example.com. Optional."
},
"line1": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Street and house number, or PO box, e.g. Hauptstraße 5."
},
"line2": {
"type": "string",
"maxLength": 60,
"description": "Optional extra address line: c/o, apartment, floor or building, e.g. Apt 4B."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "The user's phone number, printed in the sender block, e.g. +49 30 1234567. Optional."
},
"region": {
"type": "string",
"maxLength": 50,
"description": "State, province or region where the user's country has one in addresses, e.g. CA (California, US), ON (Ontario, CA) or Madrid (ES). Required for addresses in AE, AS, AU, BR, CA, CN, CO, CR, ES, FM, HK, HN, ID, IN, IQ, IT, JM, JP, KN, KR, KY, MH, MP, MX, NR, PF, PG, PW, RU, SO, SV, TW, US, VE, VI, VN when this block is saved as the user's sender details (an account without them yet: SENDER_DETAILS_REQUIRED, fields.region); otherwise optional."
},
"company": {
"type": "string",
"maxLength": 60,
"description": "The user's company or organisation, e.g. Example GmbH. Optional."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Postcode / ZIP code, e.g. 10115 or 94105. Required in countries that use postcodes."
}
},
"description": "The user's own name and address (any country), printed in the letter's sender block. Use the user's REAL full name, not an alias, nickname or pseudonym: for an account without sender details yet, this block is checked and saved as them; once the account has them, they stay as they are. The user's saved sender details (name and postal address) are printed at the top left of the envelope after \"Sent on behalf of:\" (their company name and business address instead, if the account has business details); undeliverable letters are returned to that address."
},
"closing": {
"type": "string",
"maxLength": 200,
"description": "Closing phrase, e.g. 'Kind regards'. Default: the usual closing in the letter's language."
},
"subject": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Subject line printed above the body, e.g. Cancellation of my contract no. 12345 (up to 200 characters)."
},
"envelope": {
"enum": [
"DL",
"C5",
"C4"
],
"type": "string",
"description": "\"DL\" (220×110 mm, letter folded twice), \"C5\" (229×162 mm, folded once) or \"C4\" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused."
},
"language": {
"type": "string",
"default": "en",
"maxLength": 5,
"minLength": 2,
"description": "Language of the letter as an ISO 639-1 code, e.g. en, de, fr, es, pt, it or nl; sets the date format and the default closing. Default \"en\"."
},
"recipient": {
"type": "object",
"required": [
"name",
"line1",
"city",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "City or town, e.g. Berlin."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Recipient's name: a person, or a department such as Customer Service when writing to a company, e.g. Erika Mustermann."
},
"line1": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Street and house number, or PO box, e.g. Hauptstraße 5."
},
"line2": {
"type": "string",
"maxLength": 60,
"description": "Optional extra address line: c/o, apartment, floor or building, e.g. Apt 4B."
},
"region": {
"type": "string",
"maxLength": 50,
"description": "State, province or region. Required for recipients in AE, AS, AU, BR, CA, CN, CO, CR, ES, FM, HK, HN, ID, IN, IQ, IT, JM, JP, KN, KR, KY, MH, MP, MX, NR, PF, PG, PW, RU, SO, SV, TW, US, VE, VI, VN (without it the draft is refused: INVALID_ADDRESS, fields.region); omit where addresses have none, e.g. DE, FR or GB. The code in US, CA, AU and BR, e.g. CA (California) or ON (Ontario); elsewhere the name or its usual abbreviation, e.g. Madrid (ES) or RM (Rome, IT)."
},
"company": {
"type": "string",
"maxLength": 60,
"description": "Recipient's company or organisation, e.g. Example GmbH. Optional."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Postcode / ZIP code, e.g. 10115 or 94105. Required in countries that use postcodes."
}
},
"description": "Recipient's postal address, printed in the letter's address field and on the envelope. Ask the user for missing fields."
},
"signature": {
"type": "string",
"maxLength": 80,
"description": "Name printed under the closing, e.g. Max Mustermann. Default: the sender's name."
},
"references": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 5,
"description": "Up to 5 reference lines printed above the subject, e.g. [\"Customer no. 12345\", \"Contract no. 987\"]. Optional."
},
"registered": {
"type": "boolean",
"default": false,
"description": "true = registered mail: tracking number and signature on delivery, for an extra fee (also what \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false. Often wanted for cancellations and deadlines."
}
}
},
"annotations": {
"title": "Compose a letter",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| recipient * | object | Recipient's postal address, printed on the envelope. Ask the user for missing fields. |
| upload_id | string | upload_id from create_upload_link, once the user has uploaded the PDF on that page. Pass document_id or upload_id. |
| paper_size | string | Only for a US Letter PDF to a recipient outside US, CA, PR, VI, GU, AS, MP (the US, Canada and US territories): "a4" = shrink to A4 (recommended), "us_letter" = keep US Letter. Ask the user; same price. Ignored otherwise (A4 PDFs print on A4, US Letter PDFs to those countries on US Letter). No defau… |
| registered | boolean | true = registered mail: tracking number and signature on delivery, for an extra fee (also what "certified" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false. |
| document_id | string | The PDF to post: document_id from upload_document or compose_letter, e.g. doc_2h7k9m4q8x1v3c6b0n5p. Pass document_id or upload_id. |
{
"name": "create_letter",
"title": "Create letter draft",
"description": "Use this when the user has an uploaded PDF (document_id, or upload_id from create_upload_link) and a recipient address and wants it posted by ordinary or registered mail; registered mail is international registered mail with tracking and signature on delivery; \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean this here (not a US certified-mail product). Creates a draft with the exact total in the user's currency. Nothing is sent or charged; call send_letter only after the user confirms. Every envelope shows the user as the sender at the top left (\"Sent on behalf of:\" and their name and postal address, or their company name and business address if the account has business details). The account's first letter needs the user's sender details, their REAL full name (no alias, nickname or pseudonym) and postal address: pass them as sender; without them (and none saved before) the call fails with SENDER_DETAILS_REQUIRED. Once the account has them, the saved details are used (sender_details \"on_file\"; \"kept\" when a different sender was passed, which is not saved): the user changes them in Settings → Your details. A US Letter PDF to a recipient outside the US, Canada and US territories needs the user's paper choice (paper_size, same price): without it the draft says paper_choice_required. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipient"
],
"properties": {
"color": {
"enum": [
"bw",
"color"
],
"type": "string",
"default": "bw",
"description": "\"bw\" = black and white, \"color\" = colour printing (costs more per page). Default \"bw\"."
},
"duplex": {
"type": "boolean",
"default": false,
"description": "true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false."
},
"sender": {
"type": "object",
"required": [
"name",
"line1",
"city",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "City or town, e.g. Berlin."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "The user's full name: their REAL first and last name, not an alias, nickname or pseudonym, e.g. Anna Schmidt."
},
"line1": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Street and house number, or PO box, e.g. Hauptstraße 5."
},
"line2": {
"type": "string",
"maxLength": 60,
"description": "Optional extra address line: c/o, apartment, floor or building, e.g. Apt 4B."
},
"region": {
"type": "string",
"maxLength": 50,
"description": "State, province or region where the user's country has one in addresses, e.g. CA (California, US), ON (Ontario, CA) or Madrid (ES). Required for addresses in AE, AS, AU, BR, CA, CN, CO, CR, ES, FM, HK, HN, ID, IN, IQ, IT, JM, JP, KN, KR, KY, MH, MP, MX, NR, PF, PG, PW, RU, SO, SV, TW, US, VE, VI, VN when this block is saved as the user's sender details (an account without them yet: SENDER_DETAILS_REQUIRED, fields.region); otherwise optional."
},
"company": {
"type": "string",
"maxLength": 60,
"description": "The user's company or organisation, e.g. Example GmbH. Optional."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Postcode / ZIP code, e.g. 10115 or 94105. Required in countries that use postcodes."
}
},
"description": "The user's own sender details: their REAL full name (first and last name, not an alias, nickname or pseudonym) and postal address, any country. Optional: needed only while the account has no sender details yet; they are then checked and saved to the account. Once the account has them, the saved details are used and this is not saved (the user changes them in Settings → Your details). The user's saved sender details (name and postal address) are printed at the top left of the envelope after \"Sent on behalf of:\" (their company name and business address instead, if the account has business details); undeliverable letters are returned to that address."
},
"envelope": {
"enum": [
"DL",
"C5",
"C4"
],
"type": "string",
"description": "\"DL\" (220×110 mm, letter folded twice), \"C5\" (229×162 mm, folded once) or \"C4\" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused."
},
"recipient": {
"type": "object",
"required": [
"name",
"line1",
"city",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "City or town, e.g. Berlin."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Recipient's name: a person, or a department such as Customer Service when writing to a company, e.g. Erika Mustermann."
},
"line1": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Street and house number, or PO box, e.g. Hauptstraße 5."
},
"line2": {
"type": "string",
"maxLength": 60,
"description": "Optional extra address line: c/o, apartment, floor or building, e.g. Apt 4B."
},
"region": {
"type": "string",
"maxLength": 50,
"description": "State, province or region. Required for recipients in AE, AS, AU, BR, CA, CN, CO, CR, ES, FM, HK, HN, ID, IN, IQ, IT, JM, JP, KN, KR, KY, MH, MP, MX, NR, PF, PG, PW, RU, SO, SV, TW, US, VE, VI, VN (without it the draft is refused: INVALID_ADDRESS, fields.region); omit where addresses have none, e.g. DE, FR or GB. The code in US, CA, AU and BR, e.g. CA (California) or ON (Ontario); elsewhere the name or its usual abbreviation, e.g. Madrid (ES) or RM (Rome, IT)."
},
"company": {
"type": "string",
"maxLength": 60,
"description": "Recipient's company or organisation, e.g. Example GmbH. Optional."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Postcode / ZIP code, e.g. 10115 or 94105. Required in countries that use postcodes."
}
},
"description": "Recipient's postal address, printed on the envelope. Ask the user for missing fields."
},
"upload_id": {
"type": "string",
"description": "upload_id from create_upload_link, once the user has uploaded the PDF on that page. Pass document_id or upload_id."
},
"paper_size": {
"enum": [
"a4",
"us_letter"
],
"type": "string",
"description": "Only for a US Letter PDF to a recipient outside US, CA, PR, VI, GU, AS, MP (the US, Canada and US territories): \"a4\" = shrink to A4 (recommended), \"us_letter\" = keep US Letter. Ask the user; same price. Ignored otherwise (A4 PDFs print on A4, US Letter PDFs to those countries on US Letter). No default: omit until the user has chosen."
},
"registered": {
"type": "boolean",
"default": false,
"description": "true = registered mail: tracking number and signature on delivery, for an extra fee (also what \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false."
},
"document_id": {
"type": "string",
"description": "The PDF to post: document_id from upload_document or compose_letter, e.g. doc_2h7k9m4q8x1v3c6b0n5p. Pass document_id or upload_id."
}
}
},
"annotations": {
"title": "Create letter draft",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| paper_size | string | The user's choice for a US Letter PDF to a recipient outside the US, Canada and US territories: "a4" = shrink to A4 (recommended), "us_letter" = keep US Letter. Same price. Saved on the draft before paying; ignored for other letters. No default: omit unless the user has chosen. |
| user_accepted_terms * | boolean | Must be true: the user agreed to the Terms and to the immediate start of printing. |
{
"name": "send_letter",
"title": "Send letter (charges credit)",
"description": "Use this when the user has explicitly confirmed a specific draft letter (recipient, content and total price) and wants it printed and posted. Pays the letter from the user's prepaid credit and releases it to print; it can be cancelled with cancel_letter only until production starts. Only call this after that confirmation and after the user agreed to the Terms (https://printandmailcompany.com/en/legal/terms) and to printing starting immediately (which ends the consumer right of withdrawal once printed). If credit is too low, the result contains a payment link for the user; the assistant cannot pay. A US Letter PDF to a recipient outside the US, Canada and US territories needs paper_size (ask the user: shrink to A4, recommended, or keep US Letter; same price); without it the call fails with PAPER_CHOICE_REQUIRED and nothing is charged. While the account has no sender details (the user's REAL full name, no alias, and postal address) the call fails with SENDER_DETAILS_REQUIRED and nothing is charged: ask the user for them and call send_letter again with them as sender (saved to the account before paying; once the account has them, the saved details are used). Posts paper letters only: no email, fax or parcels. Needs the user's account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"letter_id",
"confirm",
"user_accepted_terms"
],
"properties": {
"sender": {
"type": "object",
"required": [
"name",
"line1",
"city",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "City or town, e.g. Berlin."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "The user's full name: their REAL first and last name, not an alias, nickname or pseudonym, e.g. Anna Schmidt."
},
"line1": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Street and house number, or PO box, e.g. Hauptstraße 5."
},
"line2": {
"type": "string",
"maxLength": 60,
"description": "Optional extra address line: c/o, apartment, floor or building, e.g. Apt 4B."
},
"region": {
"type": "string",
"maxLength": 50,
"description": "State, province or region where the user's country has one in addresses, e.g. CA (California, US), ON (Ontario, CA) or Madrid (ES). Required for addresses in AE, AS, AU, BR, CA, CN, CO, CR, ES, FM, HK, HN, ID, IN, IQ, IT, JM, JP, KN, KR, KY, MH, MP, MX, NR, PF, PG, PW, RU, SO, SV, TW, US, VE, VI, VN when this block is saved as the user's sender details (an account without them yet: SENDER_DETAILS_REQUIRED, fields.region); otherwise optional."
},
"company": {
"type": "string",
"maxLength": 60,
"description": "The user's company or organisation, e.g. Example GmbH. Optional."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US."
},
"postal_code": {
"type": "string",
"maxLength": 16,
"description": "Postcode / ZIP code, e.g. 10115 or 94105. Required in countries that use postcodes."
}
},
"description": "The user's own sender details: their REAL full name (first and last name, not an alias, nickname or pseudonym) and postal address, any country. Optional: needed only while the account has no sender details yet (SENDER_DETAILS_REQUIRED); they are then checked and saved to the account before paying. Once the account has them, the saved details are used and this is not saved (the user changes them in Settings → Your details). The user's saved sender details (name and postal address) are printed at the top left of the envelope after \"Sent on behalf of:\" (their company name and business address instead, if the account has business details); undeliverable letters are returned to that address."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: the user explicitly confirmed sending this letter (recipient, content and total price)."
},
"letter_id": {
"type": "string",
"description": "letter_id of the draft the user confirmed, from create_letter or compose_letter, e.g. ltr_8f3k2m9q4x7v1c6b0n5p. Sending charges its total to the user's prepaid credit."
},
"paper_size": {
"enum": [
"a4",
"us_letter"
],
"type": "string",
"description": "The user's choice for a US Letter PDF to a recipient outside the US, Canada and US territories: \"a4\" = shrink to A4 (recommended), \"us_letter\" = keep US Letter. Same price. Saved on the draft before paying; ignored for other letters. No default: omit unless the user has chosen."
},
"user_accepted_terms": {
"type": "boolean",
"const": true,
"description": "Must be true: the user agreed to the Terms and to the immediate start of printing."
}
}
},
"annotations": {
"title": "Send letter (charges credit)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}