Race Control Log (FastF1)
get_race_control_messagesRetrieve all race control messages from an F1 session by year and Grand Prix to track flags, penalties, and safety car periods.
Instructions
Get all race control messages during a session.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>",
"gp": "<gp>"
},
"name": "get_race_control_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gp | Yes | ||
| year | Yes | ||
| session | No | R |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |