get_weather
Retrieves Formula 1 session weather data—air and track temperature, humidity, wind, rain, and a short timeline—to explain tyre choices and wet-race conditions.
Instructions
Weather during a session (OpenF1, 2023+): air and track temperature, humidity, wind, whether it rained, and a short timeline. Useful for explaining tyre choices and wet races.
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>",
"country": "<country>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| country | Yes | ||
| session_name | No | Race |