get_speed_trace
Retrieves a driver’s fastest-lap speed profile—top/minimum speed, throttle, braking, and DRS use—and compares a second driver’s lap by sector times, speed trace, and gap changes.
Instructions
Car data for a driver's fastest lap (OpenF1, 2023+): top and minimum speed, full-throttle and braking share, DRS use. With driver_b it also compares the two laps: official sector times (exact), a 40-point speed trace with the running time gap (estimated from speed data), and up to 3 tenths of the lap where the gap moved most (approximate).
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>",
"country": "<country>",
"driver_a": "<driver_a>"
},
"name": "get_speed_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| country | Yes | ||
| driver_a | Yes | ||
| driver_b | No | ||
| session_name | No | Qualifying |