get_league_info
Retrieve basic ESPN fantasy football league details using a league ID, plus an optional year to view historical season data.
Instructions
Get basic information about a fantasy football league.
Args:
league_id: The ESPN fantasy football league ID
year: Optional year for historical data (defaults to current season)
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| league_id | Yes |