kml_to_geojson
Convert Google Earth / Google My Maps KML (2.0–2.2) to GeoJSON — the common request when someone exported a map from Google Earth or Google My Maps and needs it in a format other GIS tools/APIs accept (e.g. "convert my Google Earth file to GeoJSON", "KML to GeoJSON").
Returns the GeoJSON FeatureCollection as a JSON string.
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": {
"kml": "<kml>"
},
"name": "kml_to_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |