Calculate upholstery fabric quantity
calculate_fabricWork out how much fabric a reupholstery job needs, in metres and yards. Use this whenever someone asks how much fabric, cloth or material to buy for a chair, sofa, stool, headboard or cushion. Two ways to call it: give a piece name for a rule-of-thumb figure, or give a list of panels with their measurements for a proper cut-list estimate. Handles non-standard fabric widths and pattern repeats. Returns a buy-this-much figure rounded up to the half metre, because cloth is cut in practical lengths.
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_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| piece | No | Furniture type, e.g. "wing-back armchair", "3-seat sofa", "drop-in dining seat", "footstool". Options: drop-in dining seat, stuffover dining chair, carver dining armchair, bedroom slipper chair, nursing chair, tub chair, club armchair, wing-back armchair, recliner armchair, loveseat, 2-seat sofa, 3-seat sofa, 4-seat sofa, corner sofa, chaise longue, dressing-table stool, footstool, window seat cushion, large ottoman, headboard single, headboard double, headboard king, deep-buttoned headboard double | |
| panels | No | Optional. Measured panels for an accurate estimate. Overrides "piece" if given. | |
| fabric_width_cm | No | Roll width. Default 137 cm, the usual UK upholstery width. American 54-inch cloth is the same thing. | |
| seam_allowance_cm | No | Turnings added to every edge of every panel in measured mode. Default 5 cm. | |
| pattern_repeat_allowance | No | Multiplier for matching a pattern. 1 = plain cloth (default). Trade allowances: 1.10 for a repeat up to 20 cm, 1.15 for 20-40 cm, 1.25 for 40-70 cm. |