get_league_rosters
Retrieve all rosters and season records for a Sleeper league, including wins, losses, points, starters, and reserves. Ideal for standings analysis by mapping owners to teams.
Instructions
Return every roster and its season record in a Sleeper league.
Each roster includes roster_id, owner_id, players, starters, reserve players, wins, losses, points, waiver position, and related settings. Obtain league_id from get_user_leagues. Combine with get_league_users to map owners to teams and use for standings or roster analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"league_id": "<league_id>"
},
"name": "get_league_rosters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_id | Yes | Sleeper league_id obtained from get_user_leagues. |