Calculate French VAT
calculate_french_vatCalculate French VAT (TVA) — convert between HT (before tax) and TTC (after tax). Supports all 4 French VAT rates. Returns: {amount_ht, amount_ttc, vat_amount, vat_rate}.
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": "calculate_french_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Input mode: ht=before tax, ttc=after tax | ht |
| rate | No | VAT rate percentage | 20 |
| amount | Yes | Amount in euros |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result (fields depend on the tool). | |
| source | No | Legal or official source. | |
| formula | No | Method used. | |
| reference_url | No | macalculatriceenligne.com page to share. |