get_rosters
Fetch all rosters in a Sleeper league, resolving player IDs to names and listing starters with slot assignments and bench for each team.
Instructions
Fetch all rosters in a league with players resolved to names.
Each team lists its starters (with slot assignments) and bench.
Args: league_id: The Sleeper league ID (numeric string).
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_rosters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||