decline_trade
Decline a trade offer from another team in your ESPN fantasy league. Optionally include a reason; use a two-step confirmation to preview before executing.
Instructions
Decline a trade offer from another team. Uses a confirmation pattern: first call (confirm=false) previews the decline, second call (confirm=true) executes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional reason for declining | |
| confirm | No | If false (default), returns a preview. If true, declines 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 decline | |
| scoring_period_id | No | Scoring period for the transaction (defaults to current) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |