Get the price and preview
quote_documentChecks the destination and returns a fixed quote: the price, the standardized address and a PDF preview. The destination is an address or a recipient_id from the directory. A quote is valid for 30 minutes. Optional certified adds USPS Certified Mail (certified) or Certified Mail with an electronic return receipt (certified_return_receipt), for letters up to 5 sheets.
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": {
"document_id": "<document_id>",
"document_token": "<document_token>"
},
"name": "quote_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| duplex | No | ||
| certified | No | ||
| destination | No | ||
| document_id | Yes | ||
| recipient_id | No | ||
| document_token | Yes |