create_track_map_replay
Create a vertical 1080x1920 MP4 replay of Formula 1 cars racing around a circuit from GPS data, with team-coloured dots and a live top-10 order.
Instructions
Render a vertical 1080x1920 MP4 replay of cars racing around the circuit from GPS data (OpenF1, 2023+), with team-coloured dots and a live top-10 order. Pick a short lap window (e.g. laps 1-3 for the start). Ready for TikTok / Reels / Shorts. Needs ffmpeg. Returns the file path.
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>"
},
"name": "create_track_map_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| country | Yes | ||
| end_lap | No | ||
| start_lap | No | ||
| session_name | No | Race | |
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |