calculate_order_template_prices
Calculates signup page order prices from a template, including taxes, discounts, and currency conversion, so you can preview order totals before submission.
Instructions
Calculate prices for a signup page order based on a specific template. Computes pricing including taxes, discounts, and currency conversion based on the provided customer details and selected items. Useful for previewing order totals before submission.
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": {
"pageId": "<pageId>"
},
"name": "calculate_order_template_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | List of items with quantities to calculate prices for. If omitted, default template items may be used. | |
| pageId | Yes | The unique ID of the signup page template to calculate prices for. | |
| country | No | Country code (ISO 3166-1 alpha-2, e.g. "DE", "US") used to determine applicable tax rates. | |
| euTaxId | No | EU VAT identification number. If provided for a business customer, may result in reverse-charge (tax-free) pricing. | |
| currency | No | Desired currency for price calculation in ISO 4217 format (e.g. "EUR", "USD"). | |
| couponCode | No | A coupon or discount code to apply when calculating prices. | |
| customerType | No | Type of customer (e.g. "private", "business"). Affects tax calculation and pricing rules. |