GST Calculator
calculator_gstAdd GST to base amount, or remove GST from inclusive amount. Custom rates allowed.
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>",
"gst_rate": "<gst_rate>"
},
"name": "calculator_gst"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add or remove. | add |
| amount | Yes | Base (add) or inclusive (remove) amount. | |
| gst_rate | Yes | GST rate % (e.g. 5, 12, 18, 28). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| gst_amount | Yes | ||
| final_amount | No |