Tip Calculator
TipCalculatorTip Calculator: Tip Calculator computes tips and splits bill totals across group members. Pass a pre-tip bill amount, tip percentage, and group size to get the tip total, overall cost, and individual per-person shares. (Cost: 1 credit)
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": "TipCalculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The bill amount before tip | |
| people | No | Number of people to split the bill | |
| currency | No | Currency code for display | USD |
| percentage | No | Tip percentage |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |