/weather | Type: Embedded | PCID required: No
Tools
| Tool | Description |
|---|---|
weather_get_current | Get current weather conditions for a location. Provide either lat/lon coordinates or a city name. |
weather_get_forecast | Get 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
lat | number | No | — | Latitude of the location (e.g., 51.5074 for London) |
lon | number | No | — | Longitude of the location (e.g., -0.1278 for London) |
city | string | No | — | City name to look up (e.g., “London”, “New York”, “Tokyo”). If ambiguous, include country (e.g., “Portland, US”) |
units | string | No | — | Unit 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
lat | number | No | — | Latitude of the location (e.g., 51.5074 for London) |
lon | number | No | — | Longitude of the location (e.g., -0.1278 for London) |
city | string | No | — | City name to look up (e.g., “London”, “New York”, “Tokyo”). If ambiguous, include country (e.g., “Portland, US”) |
days | number | No | — | Number of forecast days (1-7). Defaults to 3 |
units | string | No | — | Unit system: “metric” (Celsius, km/h) or “imperial” (Fahrenheit, mph). Defaults to metric |

