Split a KRW bill exactly
split_billDivide a total in whole Korean won as evenly as possible. Returns up to two groups that sum to the original bill. No transfers or payment collection.
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": {
"total_krw": "<total_krw>",
"people": "<people>"
},
"name": "split_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the result and editor. Defaults to English. | |
| people | Yes | Number of people, all sharing equally. | |
| version | No | Version of the exact integer-split formula. | |
| total_krw | Yes | Whole won as decimal digits, from 0 to 9007199254740991. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | Yes | ||
| shares | Yes | ||
| status | Yes | ||
| version | Yes | ||
| currency | Yes | ||
| total_krw | Yes | ||
| review_url | Yes | Opens the bill result in the browser. The fragment contains the amount and people. Share only with the intended recipients. | |
| source_url | Yes | ||
| verification_url | Yes |