calculate_area
Calculates the area of geometric shapes including circle (πr²), triangle (½×base×height), rectangle (length×width), and square (side²). Returns area in square units. (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | string, required, shape type (circle/triangle/rectangle/square), no unit, no default | |
| measurements | No | object, required, shape-specific measurements (radius/base/height/length/width/side), appropriate units, no default |