polygon_centroid
Calculate centroid of a polygon.
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": {
"polygon": "<polygon>"
},
"name": "polygon_centroid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polygon | Yes | Polygon vertices as lat1,lon1;lat2,lon2;lat3,lon3... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| centroid | Yes | ||
| polygon_vertices | Yes |