Split a Bill with Tip and Tax
tip_bill_splitSplit a bill across a group after tax, tip, and optional rounding. Returns each person's share, the tip, the effective tip rate, and the collected total.
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": {
"subtotal": "<subtotal>",
"tax": "<tax>",
"tipPct": "<tipPct>",
"people": "<people>"
},
"name": "tip_bill_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | Yes | Tax amount | |
| people | Yes | Number of people sharing | |
| tipPct | Yes | Tip percentage (e.g. 18) | |
| subtotal | Yes | Pre-tax bill amount | |
| tipOnTax | No | Whether tip is calculated on subtotal plus tax | |
| roundMode | No | Rounding mode for each share |