Tip Split
tip-splitTip and split: the tip amount, the total, and the per-person share.
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": {
"billAmount": "<billAmount>",
"tipPct": "<tipPct>"
},
"name": "tip-split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | No | Number of people (default 1). | |
| tipPct | Yes | Tip in percent. | |
| billAmount | Yes | Bill amount. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Tip amount. | |
| total | No | Total with tip. | |
| perPerson | No | Per-person share. |