score-state
Score state for tennis, golf handicap differentials and cricket overs — Replays a tennis point sequence (ITF Rules of Tennis: games, deuce, tie-breaks, match tie-break, who serves), computes a golf Score Differential and Handicap Index (World Handicap System), or tallies a cricket innings ball by ball (overs.balls, wides and no-balls, maidens, wickets), for agents that must verify a reported score. Optionally checks a claimed score against the replay and names the fir
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": {
"sport": "<sport>"
},
"name": "score-state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| golf | No | For sport=golf: a round, a list of differentials, or both. | |
| sport | Yes | Selects which block below is read. | |
| tennis | No | For sport=tennis. | |
| cricket | No | For sport=cricket: one innings, ball by ball. |