get_driver_info
Retrieve Formula 1 driver biographical details including name, nationality, birth date, and permanent number using Ergast API data from 1950 to present.
Instructions
Get driver information.
Data source: Ergast API (via FastF1) Coverage: 1950-present
Args: driver_id: Ergast driver ID (e.g., "max_verstappen", "hamilton") If None, returns all drivers year: Filter to drivers who raced in this season
Returns: Driver info: driverId, code, givenName, familyName, dateOfBirth, nationality, permanentNumber
Note: Use get_session_results to find driver codes, then use this for biographical details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driver_id | No | ||
| year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |