Get Race Replay View
get_race_replay_viewGenerate an animated bar-chart race replay showing car positions, tyre compounds, and sector times. Use it to visualize F1 race progress.
Instructions
Replay a race as an animated position chart (bar-chart-race style).
MCP App (task 06): in hosts supporting the MCP Apps extension, renders cars stacked by official position with a checkered treadmill paced by the leader (a new lap opens when the leader crosses), tyre compound badges (red S / yellow M / white H), per-sector times with broadcast colors recomputed at the displayed instant (one purple per sector, green = personal best, yellow = slower), the lap time as MM:SS:mmm, PIT badges, a centered Safety Car / VSC / race-suspended banner, and a header with circuit, local start time and track conditions. Retired cars show a permanent OUT or DNS tag and drop gap, sectors and lap time. In other hosts the same payload is returned as JSON text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_key | No | int | str — optional, positive int or 'latest'. Defaults to 'latest' when omitted. RACE session identifier; use get_sessions with session_type='Race' to discover it. During a live race, 'latest' yields a snapshot of the data available so far. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |