Add or remove VAT
calculate_vatAdd VAT to a net price or take it out of a gross price at the standard (20%), reduced (5%) or any other rate, with the net, VAT and gross amounts.
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>",
"direction": "<direction>"
},
"name": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The price | |
| direction | Yes | add: the amount is net; remove: the amount includes VAT | |
| ratePercent | No | VAT rate as a percentage; defaults to 20 |