VAT calculator
hopi_vat_calculatorAdd UK VAT to a net amount, or remove VAT from a gross (VAT-inclusive) amount. Default rate is the UK standard 20 percent. Returns the net, VAT and gross figures. Source: https://hopi.co.uk/vat-calculator/
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>",
"mode": "<mode>"
},
"name": "hopi_vat_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 'add' VAT to a net amount, or 'remove' VAT from a gross amount | |
| rate | No | VAT rate as a percentage (default 20) | |
| amount | Yes | The money amount |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| vat | Yes | ||
| mode | Yes | ||
| rate | Yes | ||
| gross | Yes | ||
| summary | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) |