Get price quote
get_price_quoteQuotes the total price (postage, service fee, VAT) and delivery dates of a letter by destination, pages and registered mail, per delivery option ('self_print' only for senders in Germany). Use it when the user asks about cost or delivery time before creating a letter; after submitting, the submit tools return the exact price. pages sets the format (1–3 standard, 4–8 compact, 9–40 large letter); include_products adds all postage products with their codes. Unknown country codes return an error naming the valid format.
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": {
"country": "<country>"
},
"name": "get_price_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Number of A4 pages of the letter, printed single-sided (1 to 40). Default 1. | |
| country | Yes | Destination country as two-letter ISO code, e.g. DE, AT, FR, US, JP. | |
| registered | No | Registered mail (Einschreiben) with tracking and proof of delivery. | |
| return_receipt | No | Registered mail with return receipt; within Germany only. | |
| sender_country | No | Sender's country (ISO code), e.g. US. Printing yourself is offered only for senders in Germany. | |
| include_products | No | Also list all postage products this service can use, with their product_code for create_letter. Only needed for special requests; postage is otherwise chosen automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What the prices include. | |
| pages | No | Pages the quote is for. | |
| options | No | Price and delivery per delivery option. | |
| product | No | Postage product chosen for these pages. | |
| products | No | With include_products: all postage products this service can use. | |
| registered | No | Quote for registered mail. | |
| destination | No | Destination country code. | |
| product_code | No | Code of that product. | |
| return_receipt | No | Quote with return receipt. | |
| destination_name | No | Destination country name. |