VAT Calculator
calculate_vatUse this when you need to add VAT to a net amount or take it out of a gross amount. Example prompt: "What is 21% BTW on 1,250 euros?" Add VAT to a net amount or extract VAT from a gross amount at any rate (e.g. 21 for Dutch BTW). Returns exact net, VAT, and gross amounts rounded to cents. Costs 1 credit. The answer is deterministic.
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>",
"rate": "<rate>",
"mode": "<mode>"
},
"name": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | add = amount is net, add VAT on top; extract = amount is gross, split out VAT | |
| rate | Yes | VAT rate in percent | |
| amount | Yes | The amount |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | ||
| vat | No | ||
| rate | No | ||
| gross | No | ||
| result | No | The result, when it is not an object |