Calculate Bounding Box
bbox_toolCalculates the bounding box extent of any geometry, returning min and max longitude and latitude that enclose it. Works offline without API calls for points, lines, and polygons.
Instructions
Calculate the bounding box (extent) of any geometry. Returns the minimum and maximum longitude and latitude that encompass the geometry. Works offline without API calls.
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": {
"geometry": "<geometry>"
},
"name": "bbox_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry | Yes | Geometry coordinates (Point, LineString, Polygon, or MultiPolygon) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | Bounding box as [minLon, minLat, maxLon, maxLat] |