mlb_stats
Retrieve MLB player season stats by group (hitting, pitching, fielding) and type (season, career, date range). Sort and limit results for top-N leaderboards.
Instructions
Season stats query across players — by group (hitting/pitching/fielding) and type (season, career, byDateRange, ...). Sort + limit for top-N tables.
Returns: {stats:[{type, group, splits:[{season, player, team, stat:{...}}]}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | hitting | |
| limit | No | ||
| stats | No | season | |
| season | No | ||
| teamId | No | ||
| sportId | No | ||
| sortStat | No | ||
| playerPool | No |