convert_file
GISGP Lite (a 24-hour pass, a 7-day pass or a monthly plan) — pass the api_key of that
account (or Authorization: Bearer). convert one GIS
file between formats with the full site converter: input shapefile (.zip), KML/KMZ, GPX, CSV,
GeoJSON, GPKG, FlatGeobuf, MapInfo TAB (.zip, source="mapinfo-tab"), FileGDB (.zip,
source="filegdb"), DXF or DWG; to geojson | shapefile | kml | kmz | gpx | csv | xlsx | gpkg |
flatgeobuf | mapinfo-tab | wkt | dxf. source_epsg for projected CSV / a shapefile without .prj,
target_epsg to reproject (GeoJSON-composable pairs). File up to 4.5 MB inline (base64). Returns
JSON {ok, filename, content_type, size, data_base64} or {ok, download_url} for big results,
{ok: false, error, pairs} otherwise.
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": {
"filename": "<filename>",
"data_base64": "<data_base64>",
"to": "<to>"
},
"name": "convert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| source | No | ||
| api_key | No | ||
| filename | Yes | ||
| data_base64 | Yes | ||
| source_epsg | No | ||
| target_epsg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |