League Context
get_league_infoFor a selected active league, call this immediately after get_user_session and before the requested standings, matchup, roster, free-agent, player, transaction, or draft tool. Skip it only when answering from session data alone or branching to get_ancient_history. This provides the baseline league context for analysis: league name, settings, scoring type, roster configuration, and team/owner context, plus schedule or season-window metadata when the platform provides it. Keeper and draft-format fields are additive and platform-dependent; never assume one provider's fields exist on another. Sleeper futureDraftRounds describes the configured round count for future drafts; use get_draft.draft.rounds for the selected draft's actual round count. When fanning out across multiple leagues, call this once per league. The exact team fields vary by platform but all include ownerName. Use values from get_user_session. Read-only. Current date is 2026-09-01.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | Sport type (e.g., "football", "baseball") | |
| platform | Yes | Fantasy platform (e.g., "espn", "yahoo", "sleeper") | |
| league_id | Yes | League ID (get from get_user_session) | |
| season_year | Yes | Season start year — use the season_year returned by get_user_session for this league; only pass an older year when the user explicitly asks about a past season |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Platform envelope. Field availability varies by platform (ESPN, Yahoo, Sleeper); absent fields are not provided by that platform. | |
| success | Yes |