accept_trade
Accept a pending trade offer from another team. Preview first, then confirm using the transaction ID.
Instructions
Accept a pending trade offer from another team. Uses a confirmation pattern: first call (confirm=false) previews the acceptance, second call (confirm=true) executes it. You need the transaction ID from the trade proposal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | If false (default), returns a preview. If true, accepts the trade. | |
| 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) | |
| transaction_id | No | Transaction ID of the trade proposal to accept | |
| scoring_period_id | No | Scoring period for the transaction (defaults to current) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |