Analyze a Trade
fantasy_analyze_tradeCheck a proposed trade in ONE league: who rosters each player, league points, projections, age, contract, injury, each team's best projected lineup change (NFL), roster spots needed, and Sleeper dynasty pick ownership. Facts, never a verdict; news via fantasy_get_player_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| get | No | Players the user receives. | |
| give | No | Players the user sends. | |
| sport | No | e.g. 'NFL', 'NBA'. Needed for ESPN/Sleeper and Fantrax name lookups. | |
| provider | No | Fantasy platform. Optional: defaults to your connected platform ('sleeper'). | |
| league_id | No | Omit when connected. League id (Fantrax also takes the league URL). | |
| team_query | No | Your team's exact id (preferred) or unique name; labels it (your team). Fantrax needs it (no owner data); ESPN/Sleeper auto-detect. Ids: fantasy_get_league_info. | |
| credentials | No | Only WITHOUT a connected profile: secret_id (Fantrax), espn_s2 + swid (private ESPN), username or user_id (Sleeper discovery). Public ESPN and Sleeper reads need none. | |
| league_query | No | A connected league's name/id; omit to auto-pick (primary first). Never ask for ids. | |
| partner_team | No | Other team's name or id, only to disambiguate. | |
| response_format | No | 'markdown' (default, most compact) or 'json' (same normalized data, not the raw payload). | markdown |