propose_trade
Propose a trade to another team with preview and confirmation steps. First call shows trade details, second call sends the offer and returns a transaction ID for cancellation.
Instructions
Propose a trade with another team. Uses a confirmation pattern: first call (confirm=false) previews the trade, second call (confirm=true) sends it. Returns a transaction ID that can be used to cancel the proposal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional message to include with the trade offer | |
| confirm | No | If false (default), returns a preview of the trade. If true, sends the trade proposal. | |
| team_id | No | Your team ID (1-based index) | |
| league_id | No | ESPN League ID (defaults to configured league) | |
| season_year | No | Season year (defaults to current year) | |
| expiration_days | No | Days until the trade offer expires (default: 7) | |
| send_player_ids | No | ESPN player IDs you are sending to the other team | |
| receiving_team_id | No | The other team's ID (1-based index) | |
| scoring_period_id | No | Scoring period for the transaction (defaults to current) | |
| receive_player_ids | No | ESPN player IDs you want to receive from the other team |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |