bundle_migrate_convert
PAID (40 credits) — one-call file migration: convert a raw file to GeoJSON, then optionally reproject and simplify, then round coordinates. Replaces 2-4 separate free tool calls (convert + reproject + simplify + round) an agent would otherwise chain by hand — see estimate_cost's "replaces" field. Requires Authorization: Bearer <api_key> and sufficient credits balance.
input_format: "shapefile" (data = base64-encoded .zip), "kml", "gpx", or
"csv" (data = raw text for the latter three).
to_epsg: 0 skips reprojection (keeps the converter's native WGS84 output).
simplify_tolerance: 0 skips simplification (Douglas-Peucker, degrees).
round_decimals: coordinate rounding, always applied (default 6).
Returns JSON: {ok, feature_count, geojson, reprojection_notice}.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": {
"input_format": "<input_format>",
"data": "<data>"
},
"name": "bundle_migrate_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| to_epsg | No | ||
| input_format | Yes | ||
| round_decimals | No | ||
| simplify_tolerance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |