get_drs_zones
Detect a circuit's DRS zones from FastF1 telemetry, including where each zone opens and closes, its length, and nearby corners for a given year, event, and session.
Instructions
Detect the DRS zones of a circuit: where each zone opens and closes, its length, and the corners around it.
Data source: FastF1 Live Timing telemetry (DRS flap channel) Coverage: 2018-2025 (DRS was replaced by active aero from 2026)
Zones are inferred from where the DRS flap was actually open on up to 8 reference laps: the fastest laps of the top drivers, or in a race the laps with the most DRS use (DRS only opens within one second of the car ahead, so fastest race laps are often set without it). Qualifying (default) is the best source: drivers may use DRS in every zone on every flying lap.
Args: year: Season year (2018+) event: Race name or round number session: Session type (default "Q"; R, S, SQ, FP1-FP3 also work)
Returns: { "lapLengthM": 5412, "referenceLaps": 8, "zones": [ {"zone": 1, "startM": 4870, "endM": 5390, "lengthM": 520, "afterCorner": "T14", "beforeCorner": "T1", "seenOnLaps": 8}, ... ] }
Note:
Distances are metres from the start/finish line along the
reference laps. startM is where drivers opened the flap, which
is at or just after the official activation point.
afterCorner / beforeCorner need circuit corner data and are
null when it is unavailable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>",
"event": "<event>"
},
"name": "get_drs_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| event | Yes | ||
| session | No | Q |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||