wkt_to_geojson
Convert a WKT (Well-Known Text) geometry string — the format PostGIS/SQL geometry columns print by default — to GeoJSON (e.g. "this came from a PostGIS query", "WKT to GeoJSON", "parse this POLYGON(...) 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": {
"wkt": "<wkt>"
},
"name": "wkt_to_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wkt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |