create_track_replay_with_beats
Render a silent F1 track map replay and return timed race-event beats in video seconds for scripting a narrated TikTok.
Instructions
Step 1 of a narrated TikTok: render the silent track map replay (OpenF1, 2023+) AND return its beat sheet: timed events (start, lap changes, position changes, safety cars, flags, penalties, pit stops, finish) in video seconds. Then write a short hype script with one line per beat and pass it to add_narration.
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_replay_with_beats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| country | Yes | ||
| end_lap | No | ||
| start_lap | No | ||
| session_name | No | Race | |
| duration_seconds | No |