openf1_laps
Retrieves per-lap Formula 1 data such as lap and sector durations, speed-trap and intermediate speeds, and pit-out flags. Pass session_key and driver_number to keep responses bounded.
Instructions
OpenF1 Formula 1 lap times and sectors. Returns per-lap data: lap duration, three sector durations, intermediate and speed-trap speeds, pit-out flag and the mini-sector code arrays the source publishes. Segment arrays are not published during races. Pass session_key plus driver_number to keep the response bounded.
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": "openf1_laps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Repeatable upstream filter written as <attribute><operator><value>, with operators >=, <=, =, > and <. Repeated filters on the same attribute are OR'ed, a lower and upper bound form an inclusive range, and different attributes are AND'ed. Filterable attributes on this route: meeting_key, session_key, driver_number, lap_number, date_start, duration_sector_1, duration_sector_2, duration_sector_3, i1_speed, i2_speed, is_pit_out_lap, lap_duration, st_speed. | |
| date_to | No | Inclusive upper bound; RFC3339 timestamp or YYYY-MM-DD example(2026-11-08) | |
| date_from | No | Inclusive lower bound; RFC3339 timestamp or YYYY-MM-DD example(2026-11-07) | |
| lap_number | No | Lap number within the session, starting at 1 example(8) | |
| meeting_key | No | Positive meeting key from openf1-meetings, or `latest` for the current meeting example(1299) | |
| session_key | No | Positive session key from openf1-sessions, or `latest` for the current session example(11408) | |
| driver_number | No | Positive permanent driver number (see openf1-drivers) example(1) | |
| is_pit_out_lap | No | Only pit-out laps | |
| lap_duration_gte | No | Inclusive minimum lap duration, in seconds | |
| lap_duration_lte | No | Inclusive maximum lap duration, in seconds |