VAT calculator
vat_calculatorAdd VAT to a net price, or remove VAT from a gross (VAT-inclusive) price, at any rate. UK standard rate is 20%, reduced 5%.
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>"
},
"name": "vat_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'add' if the amount excludes VAT, 'remove' if it already includes VAT. Default 'add'. | |
| rate | No | VAT rate in percent. Default 20. | |
| amount | Yes | The price. |