calculate_tip
Calculates the tip amount based on the bill total and tip percentage. Returns the tip amount and total including tip. (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_tip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill_amount | No | number, required, total bill before tip, currency units, no default | |
| tip_percentage | No | number, required, tip percentage, plain number (15 = 15%), no default |