NFL State
get_nfl_stateFetch the current NFL season, week, and season type from Sleeper to determine league state for scheduling and analysis.
Instructions
Get the current NFL season, week, and season type from Sleeper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg | No | Current leg | |
| week | No | Current week (0 in offseason) | |
| season | Yes | Active season year | |
| season_type | Yes | pre, regular, post, or off | |
| display_week | No | Week to display in UI | |
| previous_season | No | Prior season year |