get_driver_info
Retrieve biographical details for Formula 1 drivers, optionally filtered by driver ID or season year. Provides driverId, code, name, date of birth, nationality, and permanent number.
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 |