mlb_team_roster
Retrieve an MLB team's roster with player names, jersey numbers, positions, and roster status. Specify team ID, season, and roster type to get structured data.
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 |