Validate GeoJSON Tool
validate_geojson_toolValidate GeoJSON objects for correct structure, coordinates, and geometry types to ensure data integrity.
Instructions
Validates GeoJSON objects for correctness, checking structure, coordinates, and geometry types
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": {
"geojson": "<geojson>"
},
"name": "validate_geojson_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes | GeoJSON object or JSON string to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | Yes | Informational messages | |
| valid | Yes | Whether the GeoJSON is valid | |
| errors | Yes | Critical errors | |
| warnings | Yes | Non-critical warnings | |
| statistics | Yes | GeoJSON statistics |