Set daily lineup
set_lineupAssign players to roster positions (e.g., 1B, OF, SP, Util, BN) for a specific date. Updates your Yahoo fantasy baseball lineup by mapping player keys to slots.
Instructions
DESTRUCTIVE: changes your real Yahoo roster positions for a given date. Provide assignments mapping each playerKey to a roster position (e.g. 1B, OF, SP, Util, or BN for bench). Players not listed keep their current slot. Defaults to your configured team and today's date. Confirm the lineup with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignments | Yes | Player-to-position assignments | |
| date | No | Date as YYYY-MM-DD; defaults to today | |
| teamKey | No | Team key; defaults to configured team |