Tip calculator
tip_calculatorTip amount, total and per-person split for a bill. Runs on smart-tools.xyz.
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": {
"bill": "<bill>",
"tip_rate": "<tip_rate>"
},
"name": "tip_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | Bill amount | |
| locale | No | Language for the source_url link (default en) | |
| people | No | Number of people to split between (default 1) | |
| tip_rate | Yes | Tip, percent |