mlb_player_stats
Get season statistics for one MLB player by ID, choosing between hitting, pitching, or fielding categories to obtain structured data for analysis.
Instructions
Get MLB player season statistics. Returns one player's MLB season statistics. The group enum accepts hitting, pitching, and fielding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric MLB player id | |
| group | Yes | Stat group | |
| season | No | Four-digit season; defaults to current year |