openf1_sessions
Retrieve Formula 1 practice, qualifying, sprint, and race sessions by season and filters, returning session keys that query other routes. Use latest to get the current or recent session.
Instructions
OpenF1 Formula 1 sessions by season and filters. Returns the practice, qualifying, sprint and race sessions OpenF1 publishes, with session type and name, start/end timestamps, meeting and circuit keys, country and location. A session_key from this list is the input to almost every other OpenF1 route; latest resolves to the current or most recent session.
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_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Four-digit season year; the source serves 2023 onwards example(2024) | |
| 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: session_key, session_type, session_name, date_start, date_end, meeting_key, circuit_key, circuit_short_name, country_key, country_code, country_name, location, gmt_offset, year, is_cancelled. | |
| 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) | |
| circuit_key | No | Circuit key from openf1-meetings example(14) | |
| meeting_key | No | Positive meeting key from openf1-meetings, or `latest` for the current meeting example(1299) | |
| country_code | No | Three-letter country code example(BRA) | |
| country_name | No | Country name exactly as the source reports it example(Brazil) | |
| is_cancelled | No | Cancelled flag filter | |
| session_name | No | Session name exactly as the source reports it example(Qualifying) | |
| session_type | No | Session type; one of Practice, Qualifying, Race Enums(Practice,Qualifying,Race) example(Qualifying) |