get_stint_analysis
Analyze Formula 1 tire stints to compare driver performance across race segments, providing lap time statistics and compound usage from FastF1 live timing data.
Instructions
Analyze tire stints for a race.
Data source: FastF1 Live Timing Coverage: 2018-present
Args: year: Season year (2018+) event: Race name or round number driver: Optional driver code to filter (default: all drivers)
Returns: Stints with: driver, stintNumber, compound, startLap, endLap, lapCount, minLapTime, avgLapTime, maxLapTime
Example: get_stint_analysis(2024, "Monaco", "LEC") → [ {"driver": "LEC", "stintNumber": 1, "compound": "MEDIUM", "startLap": 1, "endLap": 28, "lapCount": 28, ...}, ... ]
Note: Only accurate laps are included in pace calculations. Stint numbers match FastF1's internal stint counter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| event | Yes | ||
| driver | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |