get_mlb_standings
Retrieve MLB standings for a specified season, league, or date using customizable parameters like standings type, hydration, and fields. Ideal for accessing up-to-date baseball statistics and league rankings.
Instructions
Get current MLB standings for a given season (year).
Args: season (Optional[int]): The year for which to retrieve standings. Defaults to current year. standingsTypes (Optional[str]): The type of standings to retrieve (e.g., 'regularSeason', 'wildCard', etc.). date (Optional[str]): Date in 'YYYY-MM-DD' format. hydrate (Optional[str]): Additional data to hydrate in the response. fields (Optional[str]): Comma-separated list of fields to include in the response. league (str): Filter by league. Accepts 'AL', 'NL', or 'both' (default: 'both').
Returns: dict: Standings for the specified league(s) and season.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | No | ||
fields | No | ||
hydrate | No | ||
league | No | both | |
season | No | ||
standingsTypes | No |