add_free_agent
Preview and confirm adding a free agent to your ESPN fantasy team, optionally dropping a player to free a roster spot.
Instructions
Add a free agent to your team, optionally dropping a player. Uses a confirmation pattern: first call (confirm=false) previews the changes, second call (confirm=true) executes them. If your roster is full, you must specify a player to drop.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_free_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | If false (default), returns a preview of transaction. If true, executes the add/drop transaction. | |
| team_id | No | Team ID (1-based index) | |
| league_id | No | ESPN League ID (defaults to configured league) | |
| season_year | No | Season year (defaults to current year) | |
| add_player_id | No | ESPN player ID to add | |
| drop_player_id | No | ESPN player ID to drop (required if roster is full) | |
| scoring_period_id | No | Scoring period (week) for transaction (defaults to current period) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |