get_bracket
A knock-out bracket: rounds in playing order, ties with their legs, aggregate (soccer: goals after extra time), the side that advanced and how (score, aggregate, extra_time, penalties, walkover, next_round), and from: the tie a side won to get there. Soccer cups and the European knock-out phases (league_id, season); tennis draws (league_id: the category id, season: a year), rebuilt from who beat whom (qualifying first; seeds, entry types and draw order where a Wikipedia draw is linked); snooker and darts tournaments (tournament_id). Rounds we cannot prove from stored matches have status missing with a reason and no ties; pairings are never guessed (snooker and darts add 'winner of A v B' placeholders only where the draw's tree is proven).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | soccer, tennis, snooker or darts | |
| season | No | soccer: 2025-26, 2025/2026 or 2025 (default: the latest season with knock-out rounds); tennis: a year (default: the latest edition) | |
| league_id | No | soccer: the cup's league code (or number), from find_leagues; tennis: the tournament's category id | |
| tournament_id | No | snooker or darts: tournament code (or number) from get_snooker_darts_tournaments |