mlb_team_result
Retrieve scoring plays and highlights from a specific MLB team's most recent game by providing the team name and optional date.
Instructions
Retrieves the results (scoring plays and highlights) for a specific MLB team's most recent game.
Args:
team_name (str): The name of the MLB team (e.g., "Los Angeles Dodgers").
date (str, optional): The date for the schedule (YYYY-MM-DD). Defaults to today.
Returns:
dict or None: A dictionary containing the scoring plays and game highlights for the team's most recent game,
or None if no game is found for the team.
The dictionary has the following structure:
{
"scoring_plays": list, # List of scoring plays
"game_highlights": list # List of game highlights
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_name | Yes | ||
| date | No |