Lluvia reciente sobre la cuenca
get_recent_rainES: Lluvia caída en las últimas 1, 6, 12, 24 y 72 h sobre la cuenca vertiente de un embalse, o sobre la de cada embalse del que bebe un municipio (los de origen y los de aguas arriba): mm de media, volumen en hm³, % de la cuenca cubierta y número de pluviómetros. EN: Rain over the last 1, 6, 12, 24 and 72 h on a reservoir's catchment, or on the catchment of each reservoir a town draws on (source and upstream): mean mm, volume in hm³, share of the catchment covered and gauge count.
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": {
"target": "<target>"
},
"name": "get_recent_rain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Para deshacer la ambigüedad cuando un embalse y un municipio se llaman igual / disambiguates a shared name | |
| target | Yes | Embalse o municipio: nombre, código (id MITECO o código INE) o slug / reservoir or town: name, code or slug | |
| window | No | Horas: 1, 6, 12, 24 o 72; sin valor = todas / hours; omit for all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Página de Llueve para citar / the Llueve page to cite | |
| as_of | Yes | Fecha del dato más reciente (UTC, ISO 8601) / timestamp of the newest figure | |
| notes | Yes | Avisos: datos que faltan y por qué / caveats and gaps, in Spanish | |
| source | Yes | De dónde salen las cifras / where the figures come from | |
| target | Yes | ||
| windows_h | Yes | ||
| reservoirs | Yes | ||
| attribution | Yes |