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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_nfl_state"
}
}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 |