Skip to main content
Server path: /weather | Type: Embedded | PCID required: No

Tools

ToolDescription
weather_get_currentGet current weather conditions for a location. Provide either lat/lon coordinates or a city name.
weather_get_forecastGet a multi-day weather forecast for a location. Provide either lat/lon coordinates or a city name.

weather_get_current

Get current weather conditions for a location. Provide either lat/lon coordinates or a city name. Parameters:
ParameterTypeRequiredDefaultDescription
latnumberNoLatitude of the location (e.g., 51.5074 for London)
lonnumberNoLongitude of the location (e.g., -0.1278 for London)
citystringNoCity name to look up (e.g., “London”, “New York”, “Tokyo”). If ambiguous, include country (e.g., “Portland, US”)
unitsstringNoUnit system: “metric” (Celsius, km/h) or “imperial” (Fahrenheit, mph). Defaults to metric

weather_get_forecast

Get a multi-day weather forecast for a location. Provide either lat/lon coordinates or a city name. Parameters:
ParameterTypeRequiredDefaultDescription
latnumberNoLatitude of the location (e.g., 51.5074 for London)
lonnumberNoLongitude of the location (e.g., -0.1278 for London)
citystringNoCity name to look up (e.g., “London”, “New York”, “Tokyo”). If ambiguous, include country (e.g., “Portland, US”)
daysnumberNoNumber of forecast days (1-7). Defaults to 3
unitsstringNoUnit system: “metric” (Celsius, km/h) or “imperial” (Fahrenheit, mph). Defaults to metric