mlb_team_stats
Retrieve aggregate MLB team stats by season, group (hitting, pitching, fielding), and stat type for performance analysis.
Instructions
One team's aggregate stats — by season + group (hitting/pitching/fielding) and stat type.
Returns: {stats:[{type, group, splits:[{season, team, stat:{...}}]}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | hitting | |
| stats | No | season | |
| season | Yes | ||
| teamId | Yes | ||
| sportId | No |