get_mlb_sabermetrics
Retrieve sabermetric statistics like WAR, wOBA, and wRC+ for MLB players by season to analyze advanced baseball performance metrics for hitting or pitching groups.
Instructions
Get sabermetric statistics (including WAR) for multiple players for a specific season.
Args: player_ids (str): Comma-separated list of player IDs. season (int): Season year. stat_name (Optional[str]): Specific sabermetric stat to extract (e.g., 'war', 'woba', 'wRc'). group (str): Stat group ('hitting' or 'pitching').
Returns: dict: Sabermetric statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_ids | Yes | ||
| season | Yes | ||
| stat_name | No | ||
| group | No | hitting |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||