Add and/or drop a player
add_drop_playerAdd a free agent, drop a rostered player, or perform both actions simultaneously on your Yahoo Fantasy Baseball roster.
Instructions
DESTRUCTIVE: modifies your real Yahoo roster. Adds a free agent, drops a rostered player, or does both at once. Provide addPlayerKey to add, dropPlayerKey to drop, or both for a simultaneous add/drop. Player keys look like 431.p.10642. Defaults to your configured team. Always confirm the players with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addPlayerKey | No | Player key to ADD (free agent), e.g. 431.p.10642 | |
| dropPlayerKey | No | Player key to DROP from your roster | |
| teamKey | No | Team key; defaults to configured team |