Paint calculator
calculate_paintUse this when someone asks how much paint they need for a room, walls or a ceiling. Calculates the paint for a room: the wall area 2 × (length + width) × height, or a given wall area, less the doors and windows (36 × 80 in and 36 × 60 in each unless given), plus the ceiling (length × width) when asked, times the coats, divided by the coverage. Returns the areas in square meters and the paint in liters, in all and for walls and ceiling (1 US gallon = 3.785411784 l). Coverage when not given: 350 sq ft per gallon (8.59 m² per liter), the low end of Sherwin-Williams' 350–400; the can label is more exact.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_paint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coats | No | Coats of paint; 2 when left out. | |
| doors | No | Number of doors to leave out; none when left out. | |
| walls | No | Wall area in square meters, used instead of length, width and height. | |
| width | No | Room width, in millimeters. | |
| height | No | Wall height, floor to ceiling, in millimeters. | |
| length | No | Room length, in millimeters. | |
| ceiling | No | True to paint the ceiling too; needs length and width. | |
| windows | No | Number of windows to leave out; none when left out. | |
| coverage | No | Square meters one liter covers in one coat, from the can; 8.59 (350 sq ft per US gallon) when left out. | |
| doorWidth | No | Width of one door; 914.4 (36 in) when left out, in millimeters. | |
| doorHeight | No | Height of one door; 2032 (80 in) when left out, in millimeters. | |
| windowWidth | No | Width of one window; 914.4 (36 in) when left out, in millimeters. | |
| windowHeight | No | Height of one window; 1524 (60 in) when left out, in millimeters. |