regular_polygon
Calculate area and perimeter of regular polygons by entering the number of sides and side length for geometry and design applications.
Instructions
计算正多边形的面积和周长
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": {
"sides": "<sides>",
"side_length": "<side_length>"
},
"name": "regular_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sides | Yes | ||
| side_length | Yes |