mlb_player_stats
Retrieve MLB player season statistics for hitting, pitching, or fielding using a numeric player ID and optional season. Get clean JSON stats for any player's performance in one request.
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 |