calculate_taxes
Calculate the tax amount for a payment based on the region and product type. Provide the base amount and region code to get the applicable taxes.
Instructions
Calculate taxes for a payment based on region
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": {
"amount": "<amount>",
"region": "<region>"
},
"name": "calculate_taxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Base amount | |
| region | Yes | Region/state code | |
| productType | No | Product type for tax calculation | physical |