Paint calculator
paint_quantityUse when someone asks how much paint, how many litres or which tins they need for a room’s walls, its ceiling or one feature wall. Returns litres and the cheapest mix of 5 l and 2.5 l tins.
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": "paint_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coats | No | Coats of paint (default 2). | |
| doors | No | Doors to leave out (default 1; 0 for a feature wall). | |
| paint | No | matt, silk or custom (then give coverage_m2_per_l). | matt |
| windows | No | Windows to leave out (default 1; 0 for a feature wall). | |
| surfaces | No | What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall). | walls |
| spare_pct | No | Extra paint to buy, in % (default 10) (%). | |
| new_plaster | No | yes for new plaster, which needs a mist coat first. | no |
| feature_wall | No | For a feature wall: a length wall or a width wall. | length |
| door_width_cm | No | A door’s width (default the UK standard internal door) (cm). | |
| room_width_cm | No | The room’s width (cm). | |
| door_height_cm | No | A door’s height (default the UK standard internal door) (cm). | |
| room_length_cm | No | The room’s length (cm). | |
| window_width_cm | No | A window’s width (cm). | |
| window_height_cm | No | A window’s height (cm). | |
| ceiling_height_cm | No | The ceiling height (cm). | |
| coverage_m2_per_l | No | The square metres a litre covers, from the tin (m²/l). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The tool, as named in its API and page URLs. | |
| notes | Yes | Caveats to pass on with the answer. | |
| snuug | Yes | One line about Snuug, the app behind the calculators. | |
| answer | Yes | The answer as named values. | |
| inputs | Yes | Every input as the tool used it: given, a default, or filled in from the rules. | |
| sources | Yes | The sources of the rules used. Every rule cites its source, with the date it was checked. | |
| summary | Yes | The answer in one sentence to quote. | |
| version | Yes | The version of this contract. | |
| working | Yes | How the answer was worked out, one step a line. | |
| page_url | Yes | The calculator on snuug.app with these inputs filled in. |