Ver datos de una capa de geoportal
get_capa_geo_datosFetch attribute data from an Ecuadorian geospatial layer by source and layer, with optional row limits, SQL filters, paging, and grouped sums; geometry is excluded.
Instructions
Attributes of a layer from search_capas_geo, geometry dropped. GeoServer (inamhi, mag, igm, maate): a sample of up to 20 features. ArcGIS (arconel, celec, msp): up to 500 rows with a SQL filtro and offset, or server-side sums by group (sumar, agrupar).
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": {
"fuente": "<fuente>",
"capa": "<capa>"
},
"name": "get_capa_geo_datos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capa | Yes | The layer's `capa` from search_capas_geo (INAMHI: "geonode:..." name; IGM: "workspace:name", e.g. nacional_2024:poblado_p_2024; MAATE: "mae_ide:name", e.g.… | |
| count | No | Features to fetch: 1-20 for inamhi/mag/igm/maate, 1-500 for arconel/celec/msp (default 5). | |
| sumar | No | arconel/celec/msp only: comma-separated numeric fields to sum. | |
| filtro | No | arconel/celec/msp only: SQL where clause; empty for all rows. | |
| format | No | text summary (default) or json structured result. | text |
| fuente | Yes | inamhi, mag, igm, maate, arconel, celec or msp. | |
| offset | No | arconel/celec/msp only: rows (or groups) to skip when paging. | |
| agrupar | No | arconel/celec/msp only: comma-separated fields to group by; needs `sumar`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filas | No | ||
| source | No | ||
| columnas | No | ||
| metadatos | Yes | ||
| url_fuente | No |