get_mlb_players
Retrieve MLB player data by specifying sport ID and optional season. Access comprehensive player statistics for baseball analytics.
Instructions
Get all players for a specific sport.
Args: sport_id (int): Sport ID (default: 1 for MLB). season (Optional[int]): Filter players by a specific season (year).
Returns: dict: All players for the specified sport.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
season | No | ||
sport_id | No |