openf1_intervals
Retrieve Formula 1 race session interval and gap measurements, including gaps to the car ahead and leader, to analyze race positions and pacing.
Instructions
OpenF1 Formula 1 interval and gap measurements. Returns the gap to the car ahead and the gap to the leader, updated about every four seconds during race sessions. Values are raw source data: a number of seconds, an array, or a string such as +1 LAP, and null for the leader. Race sessions only; other session types return an empty list.
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_intervals"
}
}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, gap_to_leader, interval, date. | |
| 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) | |
| interval_gt | No | Exclusive minimum gap to the car ahead, in seconds | |
| interval_lt | No | Exclusive maximum gap to the car ahead, in seconds | |
| 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) | |
| gap_to_leader_gt | No | Exclusive minimum gap to the leader, in seconds | |
| gap_to_leader_lt | No | Exclusive maximum gap to the leader, in seconds |