mlb_team_roster
Fetch an MLB team's roster by team ID and season. Choose active, 40-man, or full-season rosters to get players, jersey numbers, positions, and roster status.
Instructions
Get an MLB team roster. Returns a team's players, jersey numbers, positions, and roster status. The roster_type enum accepts active, 40Man, and fullSeason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Four-digit season; defaults to current year | |
| team_id | Yes | Numeric MLB team id | |
| roster_type | No | Roster type |