Fence Calculator
calculate_fenceCalculate fence posts, panels or pickets, rails, and 80/60/40 lb post-hole concrete bags.
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": {
"length": "<length>"
},
"name": "calculate_fence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | picket | |
| unit | No | us | |
| gates | No | Number of gates (0-50). | |
| length | Yes | Total fence run length (ft in us, m in metric). | |
| bagSize | No | 80 | |
| gateWidth | No | Width per gate (ft in us, default 4; m in metric, default 1.2). | |
| picketGap | No | Gap between pickets (in in us, cm in metric). | |
| picketWidth | No | Picket width (in in us, default 5.5; cm in metric, default 14). | |
| postSpacing | No | Post spacing (ft in us, default 8; m in metric, default 2.4). | |
| railsPerSection | No | Horizontal rails per section (1-6). |