preview_geometries
Preview the first N features of a spatial file or layer as WKT, returning geometry type, WKT, and bounding box for each. Inspect vector data quickly before analysis.
Instructions
Previsualiza las geometrías de los primeros N features como WKT.
Devuelve para cada feature: índice, tipo de geometría, WKT de la geometría y su bounding box individual.
Args: path: Ruta al archivo o directorio espacial. layer: Nombre de la capa (None = primera capa). limit: Número de features a previsualizar (default 5).
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": {
"path": "<path>"
},
"name": "preview_geometries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| layer | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |