plot_circuit
Draw an F1 circuit offline from stored outlines without a session download, or pass a year to render all circuits on that season's calendar.
Instructions
Draw a real F1 circuit from stored outline data — works offline, no
session download needed. With only year, draws every circuit on that
season's calendar as a sheet of small maps.
Data source: bundled circuit outlines (bacinger/f1-circuits, MIT), covering every F1 circuit used since 2018 plus classic venues.
Use for "show me the Monaco track", "what does Suzuka look like", "draw the 2026 calendar circuits", or when FastF1 telemetry is not available. For speed/gear-coloured maps, corners and DRS zones from a real lap, use plot_track_map.
Args:
circuit: Grand Prix name, circuit name, location or nickname
("Monaco", "British", "COTA", "Spa", "Yas Marina"), or a
round number together with year.
year: Season. Disambiguates names whose venue changed (the Spanish
GP moves to Madrid in 2026) and is needed for round numbers.
On its own (no circuit), draws that season's calendar
(2020-2026 stored).
save_path: If True, also write the PNG to the export directory
(default ./fastf1-exports/); a string is a directory or
a full .png path.
Returns: An image plus a caption. Structured content has the circuit name, location, official length, direction of racing, first Grand Prix and altitude (or the season's circuit list).
Note: Maps are drawn north-up from geographic coordinates (official F1 maps are often rotated). The outline starts on the start/finish line and the arrow shows the direction of racing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plot_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| circuit | No | ||
| save_path | No |