mlb_team_roster
Retrieve a Major League Baseball team's roster by team ID, including players, jersey numbers, positions, and roster status for active, 40-man, or full-season rosters.
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 |