omni_deck_framing
Calculate joist counts, decking boards, support posts, and deck surface area from deck dimensions and on-center spacing. Returns exact framing quantities without manual arithmetic errors.
Instructions
Deck Framing & Joist Spacing Calculator. Calculate pressure-treated floor joists, rim joists, support beams, posts, and decking boards with standard 12" or 16" on-center spacing. Discipline: CONSTRUCTION. Governing mathematical model / formula: Joist Count = ceil[Deck Width (in) / On-Center Spacing (in)] + 1.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of joist_count (Floor Joists Required), decking_boards (Surface Decking Boards), support_posts (6×6 Support Posts (8' max span)), deck_area (Deck Surface Area) using deck_length (Deck Length (Along House Ledger) in ft), deck_projection (Deck Projection (Out from House) in ft), joist_spacing (Joist Spacing (On-Center) in in), board_width (Decking Board Width in in). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
SIBLING ROUTING: Use this dedicated specialist tool for 'Deck Framing & Joist Spacing Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "deck-framing"
category (string): "construction"
name (string): "Deck Framing & Joist Spacing Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.joist_count (Floor Joists Required): Formatted display string (e.g. '13 joists (12 ft)')
metrics.decking_boards (Surface Decking Boards): Formatted display string (e.g. '27 boards (16 ft)')
metrics.support_posts (6×6 Support Posts (8' max span)): Formatted display string (e.g. '3 posts')
metrics.deck_area (Deck Surface Area): Formatted display string (e.g. '192.0 sq ft')
execution_time_ms (number): Latency in milliseconds.
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": "omni_deck_framing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_width | No | Decking Board Width (in). Standard 5/4×6 board measures 5.5 inches. Default: 5.5. Min: 3.5. Max: 7.5. | |
| deck_length | No | Deck Length (Along House Ledger) (ft). Length along house wall. Default: 16. Min: 6. Max: 50. | |
| joist_spacing | No | Joist Spacing (On-Center) (in). 16" standard for wood; 12" required for composite decking. Default: 16. Min: 12. Max: 24. | |
| deck_projection | No | Deck Projection (Out from House) (ft). Distance joists span outwards. Default: 12. Min: 4. Max: 24. |