Head-to-Head History
head_to_headUse this when the user asks how two teams have fared against each other: the all-time or season series, their last meetings and who led them, their next meeting ('Celtics vs Knicks history', 'Cowboys Eagles record'). Returns the pair's record over every meeting we hold and by season, this season's series, the last ten meetings with each one's top player, the series leaders, and the next game with its projected chance and margin. Not for a single game's preview: use game_projection with the game_id it returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | Yes | League ("nba" or "nfl"). | |
| team_a_id | Yes | Numeric team ID of one side, from search (e.g. the Celtics). | |
| team_b_id | Yes | Numeric team ID of the other side, from search (e.g. the Knicks). |