calculate_vat
Compute VAT to add tax to a net amount or extract tax from a gross amount using a supplied rate and inclusive/exclusive mode.
Instructions
VAT helper. Rate (percent) must be supplied. mode 'exclusive' = amount excludes tax, 'inclusive' = amount includes tax.
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>",
"ratePercent": "<ratePercent>",
"mode": "<mode>"
},
"name": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| amount | Yes | ||
| ratePercent | Yes |