plusgolf__plusgolf_ball_stroke
PLUSGOLF Ball Stroke settlement (spec V2 3I/5L/5M/5J). Per hole and pair: transfer = stroke difference + winner-only bonus (birdie +1, eagle +3, albatross/hole-in-one +5 by default; ties pay 0). Give players with per-hole 'scores' plus 'pars', or with round 'total' only (totals mode: pure stroke difference, no bonus). With apply_balance_cap=true, each player's payments are capped by their balance (default 36 balls) and shortfalls are split proportionally by calculated obligation (largest remaind
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": {
"players": "<players>"
},
"name": "plusgolf__plusgolf_ball_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pars | No | Hole pars, same length as scores (not needed in totals mode). | |
| bonus | No | Winner bonus balls {birdie, eagle, albatross}; defaults 1/3/5. | |
| players | Yes | 2-4 players: {name, scores[] or total, balance?} | |
| apply_balance_cap | No | Cap payments by balance (spec 5J). |