Add Free Agent
add_free_agentAdd an unclaimed free agent to your ESPN fantasy roster, optionally dropping a player in the same transaction. Use for direct adds, not waiver claims.
Instructions
Add an unclaimed free agent (not a waiver-wire player — use waiver_claim for those), optionally dropping another player in the same move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | ffl (football), fba (basketball), or flb (baseball). Defaults to ESPN_SPORT. | ffl |
| season | No | Season year. Defaults to ESPN_SEASON. | |
| dry_run | No | Default true: validates and reports what would be sent without sending it. Set false to actually execute (still a no-op if WRITES_ENABLED=false in .env). | |
| team_id | No | ||
| league_id | No | ESPN league id. Defaults to ESPN_LEAGUE_ID. | 123456 |
| add_player_id | Yes | ||
| drop_player_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | No | ||
| dryRun | Yes | ||
| response | No | ||
| wouldSend | No | ||
| verification | No | ||
| blockedReason | No |