Team roster
get_rosterInspect a team's lineup, eligible slots, injuries, opponents, and projections before making roster moves. Provide an ESPN team ID and optional week to get the full view.
Instructions
Inspect a team's lineup, eligible slots, injuries, opponents and projections before making moves. teamId is an ESPN fantasy team id and defaults to ESPN_TEAM_ID. Player ids are ESPN ids, including negative D/ST ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | NFL scoring week, defaults to the league's current scoringPeriodId. | |
| teamId | No | ESPN fantasy team id, defaults to ESPN_TEAM_ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | ||
| teamId | Yes | ||
| players | Yes | ||
| teamName | Yes |