get_sport_state
Retrieve current season, week, and related state for a sport to correctly scope subsequent fantasy football data requests.
Instructions
Return Sleeper's current week and season state for a sport.
For NFL this includes season, season type, week, leg, display week, previous season, league season, and season start date. Use this before week- or season-scoped calls when the current values are unknown, such as matchups, transactions, user leagues, or drafts.
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_sport_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Sleeper sport slug. Use 'nfl' for fantasy football. | nfl |