Get Pricing
get_pricingCalculate a public USD physical-mail quote from mail class, page count, recipient count, print options and optional coupon. No account or charge required; an authenticated request also reports the existing workspace balance. A quote does not send mail, initiate checkout or fund an account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| certified | No | ||
| mailClass | No | ||
| pageCount | No | ||
| couponCode | No | Server-validated catalog code (case-insensitive). Applied to charged/quoted cents only — staging keys still never buy postage. Unknown codes are rejected. | |
| recipientCount | No | ||
| electronicReturnReceipt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| breakdown | No | ||
| operation | Yes | ||
| pageCount | No | ||
| totalCents | No | ||
| creditsCents | No | USD cents. Null means not applicable or not known; never interpret null as zero. | |
| recipientCount | No |