Get structured weather
get_structured_weatherRetrieve structured weather data for Zurich or Savognin as a typed object, enabling output schema validation.
Instructions
Return a typed Weather object so the client can validate it against the output schema.
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": "get_structured_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Zurich |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| humidity | Yes | Relative humidity as a percentage | |
| location | Yes | City the reading is for | |
| conditions | Yes | Human readable sky conditions | |
| temperature | Yes | Temperature in degrees Celsius |