Rug size calculator
rug_sizeUse when someone asks what size rug fits their living room or goes under or in front of their sofa. Returns the UK and US stock rug sizes that run past each end of the sofa and leave bare floor to the walls.
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": "rug_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| armchairs | No | none, or two armchairs facing the sofa, which the rug must also reach. | none |
| legs_on_rug | No | Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only). | front |
| room_width_cm | No | The room’s width along the wall the sofa stands against (cm). | |
| sofa_depth_cm | No | The sofa’s depth, back to front (cm). | |
| sofa_width_cm | No | The sofa’s width, arm to arm (cm). | |
| room_length_cm | No | The room’s length, out from the sofa wall (cm). |
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. |