create_speed_trace_video
Render a vertical head-to-head video of two F1 drivers' fastest laps, with track map, live speed traces, and running gap. Returns the video path and beat sheet for narration.
Instructions
Render a vertical 1080x1920 head-to-head of two drivers' fastest laps (OpenF1, 2023+): both cars racing round the track map, speed traces drawing live and the running time gap. Returns the video path plus a beat sheet (start, official sector-by-sector gains, top speeds, result), so you can narrate it with add_narration. Needs ffmpeg.
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>",
"driver_b": "<driver_b>"
},
"name": "create_speed_trace_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| country | Yes | ||
| driver_a | Yes | ||
| driver_b | Yes | ||
| session_name | No | Qualifying | |
| duration_seconds | No |