tip_calculator
Calculate tip amount and split the bill among people. Enter bill total, tip percentage, and number of people to get per-person cost.
Instructions
Calculate tip and split bill. Input: billAmount, tipPercent (default 15), people (default 1).
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": {
"billAmount": "<billAmount>"
},
"name": "tip_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | No | ||
| billAmount | Yes | ||
| tipPercent | No |