Get municipality forecast
get_municipality_forecastFetch daily weather forecasts for up to 7 days for any Spanish municipality using its INE code, with data from AEMET.
Instructions
Get the daily weather forecast (up to 7 days) for a Spanish municipality from AEMET (Spanish State Meteorological Agency), identified by its INE code.
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": {
"municipioCode": "<municipioCode>"
},
"name": "get_municipality_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| municipioCode | Yes | INE municipality code (5 digits), e.g. 28079 for Madrid. Look it up at https://www.ine.es/daco/daco42/codmun/codmunmapa.htm |