Get Rosters
get_rostersFetch every team's roster or a single team's roster by team_id, with player details like position, injury status, and projections.
Instructions
Every team's roster, or one team's roster if team_id is given. Each player includes id, name, position, pro team, eligible slots, current lineup slot, injury status, lock state, and season/period projections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | ffl (football), fba (basketball), or flb (baseball). Defaults to ESPN_SPORT. | ffl |
| season | No | Season year. Defaults to ESPN_SEASON. | |
| team_id | No | Limit to one team id. | |
| league_id | No | ESPN league id. Defaults to ESPN_LEAGUE_ID. | 123456 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |