polygon_area_shoelace
Calculates the area of a polygon given its vertices using the shoelace formula (also known as the surveyor's formula). (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "polygon_area_shoelace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vertices | No | array of [x, y] coordinate pairs, required, the vertices of the polygon in order |