calculate_tip
Calculate tip and split bill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| split | No | Number of people to split | |
| amount | Yes | Bill amount | |
| tip_percent | No | Tip percentage |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| per_person | Yes | ||
| split_ways | Yes | ||
| tip_amount | Yes | ||
| bill_amount | Yes | ||
| tip_percent | Yes |