Race control
get_race_controlFetch Formula 1 race control messages including flags, safety car, DRS, penalties and track limits; filter by session, driver or time to track officiating and on-track incidents.
Instructions
Race control messages: flags, safety car, DRS, penalties, track limits, session status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | "GREEN", "YELLOW", "DOUBLE YELLOW", "RED", "BLUE", "CHEQUERED", "BLACK AND WHITE", "CLEAR". | |
| limit | No | Maximum number of records to return (default 200, max 1000). A summary is added when the result is larger. | |
| scope | No | "Track", "Driver", "Sector". | |
| fields | No | Return only these attributes. Use this to make large results smaller. | |
| date_to | No | End of the time range (UTC, ISO 8601). Filters on "date" <= value. | |
| filters | No | Extra comparison filters, e.g. [{"field":"lap_duration","op":"<","value":90}]. Allowed fields: category, date, driver_number, flag, lap_number, meeting_key, message, qualifying_phase, scope, sector, session_key. Array fields cannot be filtered. | |
| category | No | "Flag", "SafetyCar", "Drs", "CarEvent", "SessionStatus", "Other". | |
| date_from | No | Start of the time range (UTC, ISO 8601), e.g. "2025-11-09T17:05:00Z". Filters on "date" >= value. | |
| lap_number | No | Lap number (starts at 1). | |
| meeting_key | No | Meeting (Grand Prix weekend) identifier. Use "latest" for the current or most recent meeting. | |
| session_key | No | Session identifier. Use "latest" for the current or most recent session. | |
| driver_number | No | Driver number(s) for the season, e.g. 1, 44, 81. Give a list to get more than one driver. |