Square footage of a shape
square_footageCalculates square footage for rectangles, circles, triangles, L-shapes, and other areas using feet/inches or metric inputs, including counts for identical spaces.
Instructions
Square footage of one area. Shapes and fields: rectangle (length, width); square (side); l_shape (length_a, width_a, length_b, width_b); triangle (base, height); circle (diameter (or radius)); half_circle (diameter (or radius)); ring (outer_diameter, inner_diameter); trapezoid (side_a, side_b, height); parallelogram (base, height); ellipse (length, width); sector (radius, angle_degrees); rectangle_border (length, width, border_width). Lengths accept feet and inches (12' 6"), fractions (6 1/2 in) and metric (3.5 m).
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": {
"shape": "<shape>",
"dimensions": "<dimensions>"
},
"name": "square_footage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit used for plain numbers | ft |
| count | No | Number of identical areas | |
| shape | Yes | ||
| dimensions | Yes | Field name → length, e.g. {"length":"12' 6\"","width":"10ft"} |