cancel_trade
Cancel a pending trade proposal you sent. Use a confirmation pattern: first preview, then confirm with your transaction ID.
Instructions
Cancel a pending trade proposal you sent. Uses a confirmation pattern: first call (confirm=false) previews the cancellation, second call (confirm=true) executes it. You need the transaction ID from the original trade proposal.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | If false (default), returns a preview. If true, cancels 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) | |
| transaction_id | No | Transaction ID from the original trade proposal | |
| scoring_period_id | No | Scoring period for the transaction (defaults to current) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |