nascar_lap_times
Retrieve NASCAR lap-by-lap times for a race, including each car's lap times, speeds, running positions and flag states, with optional filtering by driver ID.
Instructions
Get NASCAR lap-by-lap times for a race. Returns the native lap-times feed: one row per car (number, full name, manufacturer, running position, NASCAR driver id) with every lap's time, speed and running position, plus the per-lap flag states. A full Cup race is about 0.7 MB; driver_id keeps only that car's rows (all flag rows stay), and a driver who did not run returns an empty laps list. The race must belong to the selected season and series.
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": {
"season": "<season>",
"series": "<series>",
"race": "<race>"
},
"name": "nascar_lap_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| race | Yes | Source race ID from the selected season and series | |
| season | Yes | Four-digit native season | |
| series | Yes | Source series ID from series discovery | |
| driver_id | No | Optional NASCAR driver id (NASCARDriverID) to keep one car's laps |