Gap to Leader
get_gap_to_leaderTrack a Formula 1 driver's gap to the race leader lap by lap. Use it to see how pace, pit stops, or traffic affect their position during a Grand Prix.
Instructions
Track gap to race leader throughout the race.
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>",
"driver": "<driver>"
},
"name": "get_gap_to_leader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gp | Yes | ||
| year | Yes | ||
| driver | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |