Philippine weather forecast
get_weather_forecastGet weather forecasts for Philippine cities, provinces, or municipalities. Uses PAGASA when available, otherwise Open-Meteo.
Instructions
Get the weather forecast for a Philippine location.
Uses the PAGASA TenDay API when PAGASA_API_TOKEN is set, and falls
back to Open-Meteo when the token is absent or the PAGASA call fails.
This tool sets no data_status field on a success or an
unknown-location result. Check data_source and caveats instead.
Examples:
get_weather_forecast("Manila") 3-day default forecast get_weather_forecast("Cebu City", days=2) 2-day forecast get_weather_forecast("Wakanda") unknown location, no coordinates found
On failure, a location with no known coordinates returns days: [] and a caveat, with no data_status or upstream_error key. An Open-Meteo fetch failure, or a PSGC outage during location resolution, returns data_status "unavailable", upstream_error: true, days: [], and the real error in caveats. An Open-Meteo response with no daily forecast entries returns data_status "indeterminate" instead, and is never cached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Forecast days (1-10, default 3). | |
| location | Yes | Municipality, city, or province name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||