Query City Weather
query_weatherRetrieve current weather conditions and forecasts for cities in the US, UK, or Canada; auto-detect country or specify it for ambiguous cities.
Instructions
Get current weather conditions and forecast for a city in the US, UK, or Canada.
US: National Weather Service — conditions, forecast, alerts. No API key needed. UK: Met Office DataHub — hourly forecast. Requires METOFFICE_API_KEY. CA: MSC GeoMet — current conditions and forecast. No API key needed.
Country auto-detected or specify with country parameter.
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": {
"city": "<city>"
},
"name": "query_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name (e.g., 'Denver', 'Manchester', 'Toronto') | |
| country | No | Country code. Auto-detected from city name if omitted. Required for ambiguous cities like London, Birmingham, Richmond, Hamilton, Cambridge, Windsor. |