Get Current Weather
get_weatherRetrieve current weather for any city, with options for metric or imperial units and optional clothing advice. Handles ambiguous city names by clarifying.
Instructions
Get current weather for a city. If the city name is ambiguous, asks you which one you meant. Optionally returns a what-to-wear tip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, e.g. 'London' or 'San Francisco' | |
| units | No | Unit system: metric (°C, km/h) or imperial (°F, mph) | metric |
| includeAdvice | No | If true, ask the host LLM (via MCP sampling) for a short what-to-wear tip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| country | Yes | ||
| latitude | Yes | ||
| longitude | Yes | ||
| observedAt | Yes | ISO timestamp of the observation | |
| units | Yes | ||
| temperature | Yes | ||
| apparentTemperature | Yes | ||
| humidity | Yes | Relative humidity (%) | |
| windSpeed | Yes | ||
| weatherCode | Yes | WMO weather interpretation code | |
| conditions | Yes | Human-readable condition | |
| temperatureUnit | Yes | ||
| windSpeedUnit | Yes | ||
| advice | No | LLM-generated recommendation (present only if sampling ran) |