quote_outbound_mail
Price a letter before you have the document. Takes the mail class, page count, color and, for FedEx Express Saver, 2Day or Overnight, the recipient ZIP; returns mailbox.bot's published price for a new account with its breakdown, in US dollars. Needs no account and creates nothing. The dry run of the real document is the exact price for an account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mail_class": "<mail_class>"
},
"name": "quote_outbound_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Color printing. Default black and white. | |
| mail_class | Yes | USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (USPS tracking plus proof of mailing and delivery), certified_return_receipt (certified plus electronic return receipt). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight. | |
| page_count | No | Printed pages. Default 1. | |
| recipient_zip | No | 5-digit US ZIP of the recipient. FedEx Express Saver, 2Day and Overnight prices depend on it; USPS letter and FedEx Ground prices are the same for every ZIP. | |
| delivery_signature | No | Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (FedEx Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). priority: direct (USPS Signature Confirmation, $5.00: someone at the address); adult (USPS Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). certified and certified_return_receipt: restricted (USPS Restricted Delivery, $10.00: only the addressee, or an agent they authorized in writing). first_class has no signature service. Omit it or send none for no signature. The fee is added to the price and itemized as cost_breakdown.delivery_signature_cents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Published price with breakdown, or a price range when the service is priced by destination. |