Grade bets
grade_betsGrade up to 200 bets against the stored results: won, lost, push, void, half_won, half_lost (dead_heat in racing).
For games already played, get event ids from find_results and the exact wording from get_closing (with player=).
Each bet: {"event_id", "market", "label", "line"} exactly as the odds reply named the outcome, or
{"race_id", "market": "win" | "place" | "top_2" ..., "number"}; add "id" for your own reference. A bet that cannot
be graded comes back pending or ungraded with a reason: never guess a result for those. Bookmakers' own rules
can differ, so the bookmaker's settlement is the final word.
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": {
"bets": "<bets>"
},
"name": "grade_bets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bets | Yes |