calculate_tax
Calculate VAT amount and total price for a given country and price, including the applicable VAT rate.
Instructions
Calculate the VAT amount and total price for a given country and price.
Args: country: Country name (case-insensitive). price: Price excluding VAT. Must be positive.
Returns: A dict with country, price, vat_rate, vat_amount, and total_price. Returns a dict with an "error" key if the country is unknown or input is invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| country | Yes |