calc_tip
Calculate tip amount and total for a bill, with optional tip percentage and bill splitting.
Instructions
Calculate tip amount and total for a bill.
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>"
},
"name": "calc_tip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | ||
| split | No | ||
| tip_percent | No |