Pool volume in gallons
pool_volumeUse this when someone wants to know how many gallons (or litres, cubic feet) a swimming pool holds from its shape and size: rectangle, round, oval, Roman, Grecian, kidney, L-shape or freeform, with one depth, a shallow and a deep end, or an above-ground wall height (48, 52, 54 in). Dimensions in feet or metres. Returns gallons, litres, cubic feet, cubic metres, surface area and the formula. Use it before chemical_dose, pump_size or heater_size when only dimensions are known.
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": "pool_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit of every dimension and depth: ft (default) or m. | |
| shape | Yes | rect (default), round, oval, roman (half-circle ends), grecian (cut corners), kidney, lshape, free (freeform, needs area). | |
| deep_depth | No | Water depth at the deep end (optional; average of the two is used). | |
| dimensions | Yes | ||
| shallow_depth | No | Water depth at the shallow end, or the only depth for a constant-depth pool. | |
| above_ground_wall_in | No | Above-ground round or oval pool: wall height in inches instead of depths. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Page of calculatepool.com for the same calculation. | |
| shape | Yes | ||
| litres | Yes | ||
| formula | Yes | ||
| gallons | Yes | ||
| unit_in | Yes | ||
| cubic_feet | Yes | ||
| cubic_metres | Yes | ||
| average_depth_ft | Yes | ||
| surface_area_sqft | Yes | ||
| above_ground_wall_in | No |