area_calculator
Compute area of common shapes: rectangle, circle, triangle, trapezoid, ellipse, parallelogram, square, rhombus by providing shape and dimensions.
Instructions
Calculate the area of common shapes: rectangle, circle, triangle, trapezoid, ellipse, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | Shape to calculate area for | |
| dimensions | Yes | Shape dimensions — rectangle: {width, height} | circle: {radius} | triangle: {base, height} | trapezoid: {a, b, height} | ellipse: {a, b} | parallelogram: {base, height} | square: {side} | rhombus: {d1, d2} |