calculate_tip
Tip calculator
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>",
"tipPercent": "<tipPercent>"
},
"name": "calculate_tip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | Bill (0 to any) as a plain number, for example 10. | |
| people | No | Number of people, a whole number, for example: 4. | |
| tipPercent | Yes | Tip in percent, for example: 18 for 18%. |