openf1_intervals
Read-only
Fetch interval and gap-to-leader samples for a driver in a race session, returning timestamped interval records. Use a Race session_key such as 9165 with driver_number and optional interval_gt or interval_lt; qualifying sessions have no interval data (count 0), and a live-session call returns 503. For finer queries, add repeatable filter= (operators >=, <=, =, >, <) to narrow by interval or gap_to_leader, e.g. filter=interval<=1.5; repeated filters on one attribute are OR'ed and ranges are inclusive.
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 expression written as <attribute><operator><value> with operators >=, <=, =, > and <. Repeated filters on the same attribute are OR'ed, ranges are inclusive, and unknown attributes or values are rejected before the upstream call. | |
| date_to | No | Optional sample upper bound; RFC3339 or YYYY-MM-DD. | |
| date_from | No | Optional sample lower bound; RFC3339 or YYYY-MM-DD. | |
| interval_gt | No | Optional exclusive minimum gap to the car ahead, in seconds. | |
| interval_lt | No | Optional exclusive maximum gap to the car ahead, in seconds. | |
| meeting_key | No | Optional positive meeting key, or latest. | |
| session_key | No | Optional positive session key, or latest. Intervals exist only for race sessions. | |
| driver_number | No | Optional positive driver number. | |
| gap_to_leader_gt | No | Optional exclusive minimum gap to the leader, in seconds. | |
| gap_to_leader_lt | No | Optional exclusive maximum gap to the leader, in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |