mlb_game_context_metrics
Get current MLB game context metrics, including leverage index and win probabilities for both teams, to evaluate situational importance.
Instructions
Context metrics for a game — leverage, win-probability and run-expectancy context for the current/most-recent state.
Returns: {game, leverageIndex, homeWinProbability, awayWinProbability}
Auth: none needed.
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": {
"gamePk": "<gamePk>"
},
"name": "mlb_game_context_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gamePk | Yes | Game id. Required — part of the URL path. | |
| timecode | No | Point-in-time snapshot. |