money_split
Split an amount to the cent with a CLOSED remainder rule: floor shares + leftover cents by fractional part, ties by list order - who gets the extra cent is deterministic. Equal or weighted participants. Free.
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": "<total>",
"participants": "<participants>"
},
"name": "money_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | remainder_order | |
| total | Yes | ||
| participants | Yes | [name | {name, weight?}] |