VAT calculator
vat_calculatorAdd VAT to a net amount or remove it from a gross amount. Runs on smart-tools.xyz.
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>"
},
"name": "vat_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | VAT rate, percent | |
| amount | Yes | The amount | |
| locale | No | Language for the source_url link (default en) | |
| direction | No | add: amount is net → gross; remove: amount is gross → net (default add) |