Calculate GeoJSON Bounding Box Tool
bounding_box_toolCalculate the bounding box of any GeoJSON content, returning coordinates as [minX, minY, maxX, maxY].
Instructions
Calculates bounding box of given GeoJSON content, returns as [minX, minY, maxX, maxY]
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": "bounding_box_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes | GeoJSON content to calculate bounding box for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | Bounding box as [minX, minY, maxX, maxY] | |
| message | No | Status or error message |