Weather report (pydantic-ai + sampling)
weather_reportTransforms structured weather readings into a concise spoken-style forecast for a given city.
Instructions
A pydantic-ai agent turns the structured readings for a city into a short spoken-style forecast.
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": "weather_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Zurich |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |