Craft Quantities: construction material calculators
com.craftquantities/engine
MCP server OK 59 tools
Construction quantities from cited calculators, takeoffs, planners, drawings, cut plans. No prices.
Technical sheet
- Author
- craftquantities.com (registry namespace)
- Repository
- —
- Site
- craftquantities.com/api
- Version
- 1.8.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.craftquantities.com/mcp Streamable HTTP
- Tools
- 59
- Categories
- Commerce and marketing
- Last updated
- 15 Nov 2026
- Published
- 15 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.craftquantities/engine)<a href="https://latlas.dev/en/mcp/com.craftquantities/engine"><img src="https://latlas.dev/badge/fiche/com.craftquantities/engine.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api.craftquantities.com/mcp
- Last result
- OK 28 Nov 2026, 11:28
- Response time
- 2,527 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- com.craftquantities/engine 1.8.0
- Tools
- 59
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:28 | OK | 2,527 ms | 59 |
Exposed tools (59, from tools/list, 28 Nov 2026)
search
Search the construction calculators and pages
Searches the site's construction pages for a question in everyday words, such as how much concrete or tile a job needs, and returns the matching pages: id, kind, title, link, description and slug. It finds; it computes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What to find, such as "concrete slab" or "skirting board". |
| limit | integer | no | |
| kinds | array<enum: "calculator" | "takeoff" | "example" | "diagnosis"> | no | Only these kinds of result; every kind when left out. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
fetch
Read one page as text
Returns the full text of one Craft Quantities page, identified by its id: what the page works out, its inputs or measurements with units and opening values, and its sources.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | A page id, such as calculator:concrete-calculator, takeoff:concrete-slab or diagnosis:drain-gurgles. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_calculator
Get one calculator's input fields
Returns the input fields of one calculator, identified by its slug: each field's id, label, accepted units, range and default value in metric and US units, with the calculator's version, page and citation. It computes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | The calculator's slug, such as concrete-calculator. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
calculate
Calculate a material quantity (how much, how many)
Computes the result of one calculator, identified by its slug, from the input values given: the amount of material a job needs, such as the bags of concrete for a slab or the sheets of drywall for a room, counted in bags, sheets, studs, tiles, litres, gallons, cubic yards or m³. Returns it in metric and US units with the inputs used, sources, a citation and the page link. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | The calculator's slug, such as concrete-calculator. |
| inputs | object | no | The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes "12 ft", "3.5 m", "8' 3 1/2\"" or {"value": 12, "unit": "ft"}; a count or percentage takes a number; a select takes one of its option values. Inputs left… |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| explain | boolean | no | true adds the working: the inputs as the calculator received them, every intermediate figure its own compute reports with its unit, the range check and the unit restatement, ending on the same figures. The answer's figures are identical either way. |
| drawing | boolean | no | true adds the page's drawing as SVG, for the calculators that draw one: the tile set-out (tile-layout-calculator), the deck plan with joists, butt joints and fixings (deck-board-calculator), the wall elevation course by course with its cuts, openings and lintels (brick-calculator, cmu-block-grout-c… |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
convert_units
Convert a construction unit
Converts one value from one unit to another, for example 2 m³ to cubic yards, with the exact factor the site's calculators apply, and returns the converted value and the factor.
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | number | yes | |
| from | string | yes | |
| to | string | yes | |
| dimension | string | no | Only where a unit names more than one kind of quantity. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_sources
Sources and citation for a calculation
Where does a figure come from, and how is it cited? Returns a calculator's sources as it cites them, the codes and standards they name, the site's standards pages, and a citation in plain, APA, Harvard and BibTeX. It adds no source the calculator does not cite.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | The calculator's slug, such as concrete-calculator. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
open_in_site_link
Link to the calculator page with these figures
Returns a link that opens a construction calculator's page on craftquantities.com with the reader's figures filled in and their unit system, so a person can see or change the working on the page.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | The calculator's slug, such as concrete-calculator. |
| inputs | object | no | The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes "12 ft", "3.5 m", "8' 3 1/2\"" or {"value": 12, "unit": "ft"}; a count or percentage takes a number; a select takes one of its option values. Inputs left… |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_takeoff
Get one takeoff's measurements
Returns the measurements one whole-job takeoff needs, identified by its id: each measurement's id, unit and opening figure, its build-up choices, the calculators it runs and what it leaves out.
| Parameter | Type | Required | Description |
|---|---|---|---|
| takeoff | string | yes | A takeoff id, such as concrete-slab. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
run_takeoff
Materials list for a whole job (takeoff)
Works one whole-job takeoff, identified by its id, from the measurements given: the materials list of a job such as a slab or a deck, each line from its own calculator, with what to order, waste allowances, metric and US units, labour hours (not a price), what is not counted, a citation and the page link. It does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| takeoff | string | yes | A takeoff id, such as concrete-slab. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit ("12 ft", {"value": 3.6, "unit": "m"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure. |
| selection | object | no | Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system. |
| allowances | object | no | Row → an allowance the reader sets: a percentage (cutting waste, overlap), or the option an allowance follows (a lay pattern). Row names are the takeoff's steps (the calculator slug, or the step key where one runs twice). |
| leaveOut | array<string> | no | Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_example
Get one worked example
Returns one worked construction estimate from the site, identified by its slug: the measurements, the steps in order with the calculator each uses, the figure each step pins and the waste chosen.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | A worked example's slug, such as bathroom-gutted-and-retiled. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
run_example
Re-check a worked example's figures
Re-runs every pinned step of a worked construction estimate now, in both unit systems, and returns whether each still meets the published figure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| slug | string | yes | A worked example's slug, such as bathroom-gutted-and-retiled. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_project_file_from_calculations
Create a My Project file from calculations
Creates one My Project backup file from a list of calculator lines (each a calculator slug and its input values). Each line is computed as the site's page adds it; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new project's name. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| calculators | array<object> | yes | The calculator lines: each a slug and its input values. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_project_file_from_takeoffs
Create a My Project file from takeoffs
Creates one My Project backup file from a list of whole-job takeoffs (each a takeoff id and its measurements). Each takeoff's lines are worked as its page commits them; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new project's name. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| takeoffs | array<object> | yes | The takeoffs: each an id and its measurements. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_project_file_from_house
Create a My Project file from a house
Creates one My Project backup file from a House Estimator form: the house's lines, and its drawing, which the site's canvas reopens. The reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new project's name. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| houses | array<object> | yes | The House Estimator form (one house; two give their lines without a drawing). |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_project_file_from_plan
Create a My Project file from a plan
Creates one My Project backup file from a room plan: one planned space, or several spaces and a roof. Its lines and its plan are saved as the site's planner saves them; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new project's name. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| plan | object | yes | One planned space, or a planned project of spaces and a roof. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_project_file_from_drawing
Create a My Project file from a drawing
Creates one My Project backup file from a Construction Canvas drawing: its lines, and the drawing itself, which the site's canvas reopens. The reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new project's name. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| drawing | object | yes | The drawing: a house form, shapes, drawing commands or a canvas document. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
check_quote
Check a builder's or contractor's quote
Is a builder's quote right on quantities? Reads a contractor's quote (pasted text) against the reader's own job and returns each quoted quantity against the range the job's calculators give, the lines it leaves out or adds, and the questions to ask. Money is removed and not judged; a difference is a question, not a verdict.
| Parameter | Type | Required | Description |
|---|---|---|---|
| job | enum: "bathroom-quote" | "plastering-quote" | "room-fitout-quote" | "concrete-slab-quote" | "timber-deck-quote" | "stud-wall-quote" | "external-wall-quote" | "insulate-floor-quote" … | yes | The quote check: bathroom-quote, plastering-quote, or a takeoff's ({takeoff id}-quote). |
| quote | string | yes | The quote's text. Prices may be left in; they are taken out before reading. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit ("12 ft", {"value": 3.6, "unit": "m"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure. |
| selection | object | no | Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
estimate_house
Estimate the materials to build a house
Estimates the materials to build one rectangular house of one or two storeys from a few figures (footprint, walls, roof, openings): every quantity with what to order, assumptions, plans of each storey and labour hours, as the site's House Estimator does. It counts; it does not design a structure. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| example | string | no | Start from one of the site's example houses (its slug) in place of the estimator's opening house. |
| values | object | no | The form's figures, each length with its unit: length, width, storeyHeight, eaveOverhang, rakeOverhang, slabThickness, footingWidth, footingDepth, trenchDepth, windowWidth, windowHeight, doorWidth, doorHeight ("12 m", "40 ft"); and the counts partitions, windows, outsideDoors, interiorDoors, iceDam… |
| storeys | enum: 1 | 2 | no | |
| family | enum: "wall.framed-exterior" | "wall.masonry" | "wall.sip" | no | |
| selection | object | no | The exterior wall's build-up choices. |
| pitch | enum: "4" | "6" | "8" | "10" | "12" | no | Roof pitch, rise in 12. |
| roofFamily | enum: "roof.asphalt-shingle" | "roof.tile-slate" | no | |
| roofSelection | object | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_planner
Get the planner's fields for one kind of space
Returns the room planner's fields for one kind of space: its figures, surfaces and finish ids, scope questions and rows, with their ids.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "room" | "bathroom" | "slab" | "deck" | "driveway" | "fence" | "loft" | "retaining-wall" … | yes | The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage fl… |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
plan_room
Plan the materials for one room or space
Plans one space, such as a room or a bathroom, from its size, openings and the finishes chosen, as the site's room planner does, and returns its materials list: each row with its quantity, what it still needs, what is not built and why, and labour hours. Quantities only; it does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "room" | "bathroom" | "slab" | "deck" | "driveway" | "fence" | "loft" | "retaining-wall" … | yes | The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage fl… |
| figures | object | yes | The space's figures, by the planner's ids, each a length with its unit (a room: length, width, height, wallThickness; a fence: length, height; a stair: totalRise, width …). |
| doors | object | no | |
| windows | object | no | |
| finishes | object | no | Surface role → finish id, by the planner's ids. |
| scope | object | no | Scope question name → answer value, by the planner's ids. |
| intent | string | no | A trade, or everything. |
| leaveOut | array<string> | no | Branch ids to leave out. |
| inputs | object | no | Branch id → { calculator input id: value in its base unit }. |
| name | string | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
plan_project
Plan the materials for several rooms
Plans several spaces together, with an optional roof over them, as one project in the site's room planner, and returns each space's rows, every line together, labour hours and the plan. Quantities only; it does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| spaces | array<object> | yes | The spaces, in order, each one planned space. |
| roof | object | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_drawing
Draw a plan and list its materials
Draws one plan on the Construction Canvas from the shapes, rooms laid out by adjacency on a grid, house figures, drawing commands, canvas document or template given, and returns its materials list, a plan of each level, labour hours, a link that opens the drawing on the canvas, and a file. It does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| house | object | no | The House Estimator's form: the house drawn as the estimator draws it. |
| commands | array<object> | no | Drawing commands, in order, on the canvas's blank drawing (one storey; the wall, partition, window and door types). The whole request is at most 64 KiB. |
| document | object | no | A Construction Canvas document (schema 1 to the canvas's current), opened and checked by the canvas's own opener. |
| shapes | array<object> | no | Simple shapes the assistant has read from the reader's words — a room, a deck, a patio, a bed, a path, a fence of legs and turns — compiled into the canvas's own commands. Every length with its unit. |
| layout | object | no | Rooms by name, size and which room each stands against, laid out on a grid: shared walls drawn once as partitions, every snap or move reported, and each room checked to close. |
| template | string | no | A Construction Canvas template's slug (the template index lists them: single-room, deck, two-car-garage …): the drawing its page shows, in the reader's system, with a link that opens it. |
| variant | string | no | With template: one of its two "what changes if" variants, by id; a wrong one is refused with the template's own list. |
| name | string | no | The project's name in the file. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
import_quote
Turn my quote into an estimate
Turns a supplier's or builder's quote the reader has, prices and all, into a My Project file, as the site's Quote to Estimate does, and checks its own arithmetic. The prices are the reader's figures from their document, not the site's.
| Parameter | Type | Required | Description |
|---|---|---|---|
| quote | string | yes | The quote's text, one item to a line, with its prices. |
| supplier | string | no | |
| currency | string | no | The quote's currency symbol, where the quote does not show it. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| name | string | no | |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
diagnose_symptom
Diagnose a building defect (crack, damp, leak)
Matches one building defect described in plain words, such as a crack, a damp patch, a water leak or a tripping breaker, to the site's diagnosis pages, and returns the candidate causes, what tells them apart, the checks in order and when to call a professional; ambiguous words return candidates. It does not say which cause it is.
| Parameter | Type | Required | Description |
|---|---|---|---|
| symptom | string | yes | What the reader sees, hears or smells, in their own words: "my breaker keeps tripping when the kettle is on". |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| limit | integer | no | How many diagnoses at most. Left out: one when the match is clear, up to three when it is not. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
solve_backwards
How far a material goes
Works out how far one amount of material goes, such as 40 bags of concrete or 24 gallons of paint: the area it covers and the size of slab, room, deck or wall that is, as the site's Solve Backwards page works it, waste taken off. It does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | string | no | A Solve Backwards page's slug, such as wall-paint, drywall-sheets, bricks, concrete-bags, ready-mix-concrete. |
| query | string | no | Or what the reader has, in words ("sheets of drywall", "bags of concrete"), when the slug is not known. |
| have | number | string | object | yes | How much the reader has: a count for counted things (20, "20 sheets"); a measure with its unit for paint, concrete, soil ("24 gal", "2 m3", {"value": 90, "unit": "L"}). |
| system | enum: "metric" | "imperial" | no | The page's system; it sets the market's product (a 4 × 8 ft sheet in imperial). Left out: the unit's system, else metric. |
| settings | object | no | Optional: another calculator input, with its unit (a slab's thickness "4 in", coats 3). The inputs the page grows cannot be set. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
market_documents
Find the building code for a kind of work
Finds which family of building codes or standards governs one kind of work in one market (US, Canada, UK or Australia, or a country mapped to one), who publishes it and the site's standards page. It does not say which edition is in force: adoption is local, and the answer names who decides.
| Parameter | Type | Required | Description |
|---|---|---|---|
| market | string | yes | US, CA, UK, AU or INTL — or a country's name ("England", "Canada"); a country the site has no market for answers as INTL. |
| subject | string | no | The work, in words: "kitchen wiring", "stair handrails", "gas boiler flue". |
| calculator | string | no | Or a calculator's slug: the subjects its own sources name. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
translate_term
Translate or match a trade word between markets
Says one building-trade word in US, Canadian, UK and Australian usage, such as plasterboard (drywall in the US) or skirting (baseboard): each market's word, how close each is, false-friend warnings, unit traps such as US and imperial gallons or short and metric tons with their conversions, and the market's document family. Brand names, plurals and misspellings match too.
| Parameter | Type | Required | Description |
|---|---|---|---|
| term | string | yes | A trade word or phrase as one market says it, a brand name said for the product, or a misspelling: "plasterboard", "gyprock", "casing", "skirting", "eavestrough", "a yard of concrete". |
| from | enum: "US" | "CA" | "UK" | "AU" | no | The market whose word it is, where known. |
| to | enum: "US" | "CA" | "UK" | "AU" | no | The market to say it in. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
create_supplier_quote_request
Create a request for quote to suppliers
Creates a request for quote from a materials list or bill of materials (the lines of a takeoff, house, plan or calculation, or the reader's own): Markdown to paste, a CSV, the site's link a merchant opens to price it, and a My Project file. It carries no price and sends nothing to anyone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| items | array<object> | yes | |
| project | string | no | The project's name, as the merchants will see it. |
| currency | string | no | The currency prices are asked in; left out, the market's. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| note | string | no | A note to the merchants: delivery address area, dates, access. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_benchmark
Get the Construction Quantities Benchmark
Returns items of the Construction Quantities Benchmark, a CC BY 4.0 dataset of construction quantity questions built from the site's calculator test vectors: each with its inputs and a prompt in metric and US units, the expected answer in each system with its tolerance, and the worked steps. A page of calculators at a time or one calculator's items, with the download link and how to cite it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | no | Which page of the benchmark, from 1: each page holds the items of a few calculators, in slug order. 1 when left out. |
| calculator | string | no | One calculator's items only, by its slug, such as concrete-calculator. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
measure_sketch
Measure a plan, sketch or photo from its points
Measures areas, perimeters and lengths from points read off a floor plan, sketch or photo (pixel coordinates) and one known reference (a figured dimension, an ID-1 card or an A4 or Letter sheet): scaled figures in metric and US units with an uncertainty band, closure and crossing checks, and a canvas link. It receives no image.
| Parameter | Type | Required | Description |
|---|---|---|---|
| shapes | array<object> | yes | The outlines and lines read off the image, in its pixels. |
| reference | object | yes | ONE known size in the same image: a figured dimension, or an object of known size by its four corners. |
| pixelError | number | no | How far any point may be off, in pixels: it sets the band. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
export_drawing
Export a drawing as DXF, SVG or IFC (CAD and BIM files)
Exports a Construction Canvas drawing (a template, shapes, a room layout, drawing commands, house figures or a canvas document) as DXF for CAD, with the site's CQ-* layers, and as SVG, one plan per level in millimetres, or as one openBIM IFC4 model with quantity sets, as the canvas's own download writes them; a file too large to return is rebuilt from the drawing's link.
| Parameter | Type | Required | Description |
|---|---|---|---|
| house | object | no | The House Estimator's form: the house drawn as the estimator draws it. |
| commands | array<object> | no | Drawing commands, in order, on the canvas's blank drawing (one storey; the wall, partition, window and door types). The whole request is at most 64 KiB. |
| document | object | no | A Construction Canvas document (schema 1 to the canvas's current), opened and checked by the canvas's own opener. |
| shapes | array<object> | no | Simple shapes the assistant has read from the reader's words — a room, a deck, a patio, a bed, a path, a fence of legs and turns — compiled into the canvas's own commands. Every length with its unit. |
| layout | object | no | Rooms by name, size and which room each stands against, laid out on a grid: shared walls drawn once as partitions, every snap or move reported, and each room checked to close. |
| template | string | no | A Construction Canvas template's slug (the template index lists them: single-room, deck, two-car-garage …): the drawing its page shows, in the reader's system, with a link that opens it. |
| variant | string | no | With template: one of its two "what changes if" variants, by id; a wrong one is refused with the template's own list. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| formats | array<enum: "dxf" | "svg" | "ifc"> | no | dxf, svg, ifc (openBIM IFC4: one file for the whole drawing, every level, with quantity sets), or several; left out, dxf and svg. |
| level | string | no | One level by its id or name; left out, every level with something on its plan. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
layout_reinforcement
Rebar layout drawing and bar counts for a slab or footing
Lays out reinforcing bars in a rectangular slab or footing from the bar size, spacing and cover the engineer gives: bars each way, lengths, total with lap, stock sticks, a bar schedule (marks, counts, lengths with laps, weight) with the stock to buy, and the layout as SVG and DXF. A quantity layout, not a design: it does not size structure or check a code.
| Parameter | Type | Required | Description |
|---|---|---|---|
| element | enum: "slab" | "footing" | no | A slab, or a pad or strip footing, as a rectangle on plan. |
| length | number | string | object | yes | Along x, with its unit. |
| width | number | string | object | yes | Along y, with its unit. |
| cover | number | string | object | yes | The cover to the bars on plan, as the engineer gives it. |
| barSize | string | yes | As the engineer gives it: #4, 15M, N12, H12, T12 or 12 mm. |
| spacing | number | string | object | no | The spacing both ways, as the engineer gives it. |
| lengthwise | object | no | The bars running along the length (spaced across the width): a spacing of their own, or a count. |
| widthwise | object | no | The bars running along the width (spaced along the length): a spacing of their own, or a count. |
| mats | enum: 1 | 2 | no | One mat, or two (top and bottom) laid out alike. |
| lapPercent | number | no | The lap-splice allowance on the total; left out, the Rebar Calculator's own default. |
| lapLength | number | string | object | no | The lap length at each splice, as the engineer gives it, for the bar schedule's laps bar by bar (a bar longer than the stock length is joined). Left out, the schedule counts the laps but adds no length for them. |
| chairs | object | no | Count the bar supports too, from the supplier's support spacing. |
| formats | array<enum: "svg" | "dxf"> | no | The drawing's files: svg, dxf or both (the default). |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
calculate_batch
Run several calculators in one request
Runs up to 25 construction calculator calculations in one request, each a calculator slug or permanent id with its own input values, and returns each run's full answer in order (metric and US units, inputs used, sources, citation, page link) or that run's refusal; one refusal leaves the rest answered. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| items | array<object> | yes | The runs, 1 to 25, each one calculator and its inputs; answered in the same order. |
| system | enum: "metric" | "imperial" | no | The unit system for every run that does not name its own. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | The market for every run that does not name its own. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
update_project
Change a project held in a state token
Changes a My Project project carried in a state token (cqp1.…, from a project file answer): add or remove a room or space, change a dimension, add or remove a takeoff or calculator line, change a roof pitch, rename. Rebuilds every line and returns the new token, a short diff, the totals and a site link. The token is compressed, not encrypted; nothing is stored. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | yes | A project state token from a project-file answer or an earlier update. |
| operations | array<object> | no | The changes, applied in order (0 to 20); none returns the project as the token holds it. |
| file | boolean | no | true: the updated My Project file as well. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
classify_items
Group a materials list by MasterFormat division
Groups a materials list, bill of materials, takeoff, plan or project (lines, calculator slugs or a project state token) by CSI MasterFormat 2018 division, by the site's own keyword rule over each line's calculator or words. A suggested grouping, not a specification; no Uniclass or NRM grouping is given. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no | A project state token: its lines are grouped. |
| lines | array<object> | no | Lines of a takeoff, plan, house, drawing or bill: each a label, and the calculator slug where known. |
| calculators | array<string> | no | Calculator slugs or permanent ids. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
resolve_id
Find a page by its permanent id or old link
Resolves a permanent Craft Quantities id (such as cq-c0412), a current or earlier slug, or a craftquantities.com address to the page as it is today: its kind, current slug, slug history, page link and permanent /id/ link. Ids are assigned once and kept when a page is renamed or moved; a removed page names its replacement.
| Parameter | Type | Required | Description |
|---|---|---|---|
| ref | string | yes | A permanent id (cq-c0412), a current or earlier slug, or a craftquantities.com address. |
| kind | enum: "calculator" | "takeoff" | "guide" | "example" | "term" | "diagnosis" | no | Only pages of this kind. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
plan_programme
Build programme (construction schedule) from labour hours
Builds a construction programme (build schedule, Gantt) from a project's labour hours: tasks by trade, stage and level in the usual order of work, each its hours over the crew and working day given, with totals, a CSV and, with a start date, an iCalendar file. Reads a project state token, a My Project file, takeoffs or a drawing. Weather, inspections and lead times are not modelled. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no | A project state token (cqp1.…) from a project-file answer or an update: the project whose lines are put in order. |
| file | object | no | A My Project file (the backup a project-file answer returns, or one the reader exported): its active project's lines and any hours typed on them. |
| takeoffs | array<object> | no | Whole-job takeoffs, each an id and its measurements, as a project file takes them. |
| drawing | object | no | A Construction Canvas drawing (a template, a house form, shapes, drawing commands or a canvas document), as a project file takes it; its levels set the level-by-level order. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| crew | integer | no | People in each trade's crew, unless named in crews. |
| crews | object | no | People in a trade's crew, by trade id (carpentry, drywall, electrical, roofing …). |
| hoursPerDay | number | no | Working hours in a crew's day. |
| startDate | string | no | Optional first day (YYYY-MM-DD): the working days are then given dates and a calendar file is returned. No date is assumed without it. |
| workDays | array<integer> | no | The days of the week worked, 1 Monday to 7 Sunday. |
| daysOff | array<string> | no | Dates not worked (holidays, a shutdown), YYYY-MM-DD. |
| name | string | no | The project's name, for the files. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
optimise_cuts
Optimise a cut list: stock lengths and sheet layouts
Optimises a cut list: pieces of given lengths cut from the stock lengths a merchant sells (timber, studs, joists, rafters, rebar, trim), or rectangles nested on sheets (plasterboard, drywall, plywood, OSB, tiles) in straight edge-to-edge cuts. Gives the stock or sheets to buy, a cutting plan per bar or sheet, the real waste and a lower bound. Quantities only: no prices, no structural design.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "linear" | "sheet" | yes | linear: lengths cut from stock lengths (studs, plates, joists, rafters, bars, trim, boards). sheet: rectangles nested on sheets (plasterboard or drywall, plywood, OSB, tiles). |
| material | enum: "timber" | "rebar" | "casing" | "plasterboard" | "plywood" | "osb" | "tile" | no | What is cut, for the market's stock lengths or sheet sizes, saw kerf and grain when they are left out: timber (the default for linear), rebar or casing; plasterboard (the default for sheet), plywood, OSB or tile. |
| pieces | array<object> | yes | The cut list: up to 200 lines and 3000 pieces (1500 for sheets) in all. |
| stock | array<number | string | object> | no | linear: the stock lengths on offer, each in any number, with units ("4.8 m", "16 ft"). Left out, the market's usual lengths for the material in the system asked for. |
| sheets | array<object> | no | sheet: the sheet sizes on offer (the plan takes the one that buys the least area). Left out, the market's usual size for the material. |
| kerf | number | string | object | no | The saw's kerf, charged on every piece (both ways on a sheet). Left out, the material's: 3 mm or 1/8 in for a saw, none for a bar shear or a board knife. |
| minOffcut | number | string | object | no | linear: the shortest offcut worth keeping; shorter ones count as waste. sheet: the smallest offcut (either way round) listed for reuse; left out, 300 mm (12 in) square. |
| trim | number | string | object | no | sheet: cut off every sheet edge before nesting (a factory edge that is not clean). Left out, none. |
| mode | enum: "guillotine" | "free" | no | sheet: guillotine (the default), every cut edge to edge for a panel or track saw, with the cuts in order; free, also layouts needing plunge cuts (CNC). |
| bandAllowance | number | string | object | no | sheet: tape added to every banded edge for trimming flush. Left out, none. |
| rotate | boolean | no | sheet: whether pieces may turn a quarter (no grain or strength axis to keep). Left out: yes for plasterboard and tiles, no for plywood and OSB. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
estimate_hours
Estimated labour hours per line of a project
Estimated person-hours on each line of a project, as My Project shows them: hours typed on the line, else a production rate's band for its quantity, else the reason for none; with the project's crew-days. From a token, a file, calculators, takeoffs or a drawing. Hours only: no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no | A project state token (cqp1.…) from a project-file answer or an update. |
| file | object | no | A My Project file (the backup a project-file answer returns, or one the reader exported): its active project's lines, with any hours and rates typed on them. |
| calculators | array<object> | no | Calculator lines, each a slug and its inputs, as a project file takes them. |
| takeoffs | array<object> | no | Whole-job takeoffs, each an id and its measurements, as a project file takes them. |
| drawing | object | no | A Construction Canvas drawing (a template, a house form, shapes, drawing commands or a canvas document), as a project file takes it. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| crew | integer | no | People on site, for the crew-days. |
| hoursPerDay | number | no | Working hours in a day, for the crew-days. |
| name | string | no | The project's name. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
compare_on_job
Compare two options on one job, with the crossover
Works both sides of a comparison page (LVP vs tile, paint vs wallpaper …) on one job: each side's quantity in both unit systems, allowance, weight and person-hours, the difference, and the crossover as one job figure is swept. Each calculator runs as its page runs it. No prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| comparison | string | yes | A comparison page's slug, such as lvp-vs-tile or paint-vs-wallpaper. |
| job | object | no | The job's figures by field id, each length or area with its unit ("14 ft", {"value": 4.2, "unit": "m"}), a count or pitch as a number, a choice as its option value. Fields left out open at the page's own figure. |
| sweep | string | no | The job field the crossover chart sweeps; the page's own when left out. |
| points | integer | no | Sample points across the swept field's range. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
run_guide_chain
Run a guide's "Try the calculation" with your figures
Runs a how-to guide's "Try the calculation" block on the figures given: each step's calculator in the guide's order, what to buy with waste and order quantities, both unit systems, person-hours, and the guide's link opening the block on these figures. No prices; nothing sized.
| Parameter | Type | Required | Description |
|---|---|---|---|
| guide | string | yes | A guide's slug whose page has a "Try the calculation" block, such as how-to-board-a-loft-over-insulation. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit; counts as numbers. Any left out opens at the guide's own figure. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
run_example_live
Re-run a worked example with changed figures
Re-runs a worked example with the job's figures changed: each change follows down every step that reads it, each step beside its published figure with the difference, both unit systems, the project lines with offered hours, and a link reopening it. A modelled job; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| example | string | yes | A worked example's slug, such as attached-deck-built. |
| figures | object | no | The job's own figures by id (a deck's length, a room's height), each length or area with its unit; a count as a number. They follow down every step that reads them. |
| inputs | object | no | One step's own input, keyed " . " ("3.wastePercent"), each with its unit where it has one. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
stair_flight
Stair layout: straight, turned, concrete or steel
Lays out a flight as built: risers, goings, pitch, 2R+G, the floor opening for a headroom, the stringer as cut, timber and fixings (straight, landing or winders), or concrete and bars, or steel mass; both systems, limits read against a named code, a canvas link. Not sized.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "straight" | "turned" | "concrete" | "steel" | yes | straight: one timber flight; turned: an L or U on a landing or winders; concrete: a cast flight; steel: steel stringers with treads. |
| inputs | object | no | The stair page's inputs by id (totalRise, targetRiser, going, buildingCode …), each length with its unit; any left out opens at the page's own figure. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
level_quotes
Level two to six quotes for one job, line by line
Levels two to six contractors' quotes for one job against the job's own lines: per line, whether each includes it (its quantity against the job's range, both systems), leaves it out, excludes it or offers an alternative; what each adds; questions to ask. Money is taken out: no total, no ranking.
| Parameter | Type | Required | Description |
|---|---|---|---|
| job | string | yes | The job the quotes are for: a quote check (bathroom-quote, plastering-quote, concrete-slab-quote …) or a takeoff id that has one. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit ("12 ft", {"value": 3.6, "unit": "m"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure. |
| selection | object | no | Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system. |
| quotes | array<object> | yes | Two to six quotes for the same job. Money in them is taken out before reading. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
write_variation
Variation (change order) between two versions of a project
Writes the variation (change order) between an agreed and a proposed version of a project: each line added, removed or changed, its quantity in metric and imperial, the labour hours, and the signed document as My Project prints it. Money only from the reader's own rates; with none, unpriced.
| Parameter | Type | Required | Description |
|---|---|---|---|
| before | object | yes | The agreed version: one of token, file, calculators, takeoffs or drawing. |
| after | object | yes | The proposed version, given the same ways. |
| rates | object | no | The reader's own unit rates (the site holds no price), by line id or calculator slug: a number, or { low, high }. A line's own rate in a file stays unless its id is named here. |
| currency | string | no | The label the reader's rates are in ("$", "£", "lei"); the market's when left out. A label only: no currency is converted. |
| name | string | no | The project's name on the document. |
| reason | string | no | Why the job changed, in the reader's words. |
| number | string | no | The variation's number (V-0003). |
| preparedBy | string | no | |
| client | string | no | |
| paymentTerms | string | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
write_proposal
Client proposal from a project, unpriced unless rates given
Writes the client proposal My Project prints: scope by line or trade division, quantities in metric and imperial, assumptions, exclusions, terms, payment stages and the signature block. From a token, a file, calculators, takeoffs or a drawing. "Not priced" unless the reader's own rates are given.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no | A project state token (cqp1.…) from a project-file answer or an update. |
| file | object | no | A My Project file (the backup a project-file answer returns, or one the reader exported): its active project's lines, with any hours and rates typed on them. |
| calculators | array<object> | no | Calculator lines, each a slug and its inputs, as a project file takes them. |
| takeoffs | array<object> | no | Whole-job takeoffs, each an id and its measurements, as a project file takes them. |
| drawing | object | no | A Construction Canvas drawing (a template, a house form, shapes, drawing commands or a canvas document), as a project file takes it. |
| rates | object | no | The reader's own unit rates (the site holds no price), by line id or calculator slug: a number, or { low, high }. A line's own rate in a file stays unless its id is named here. |
| currency | string | no | The label the reader's rates are in ("$", "£", "lei"); the market's when left out. A label only: no currency is converted. |
| name | string | no | The project's name on the document. |
| reference | string | no | |
| companyName | string | no | The contractor's name for the letterhead; blank prints none. |
| preparedBy | string | no | |
| client | string | no | |
| intro | string | no | A covering note in the contractor's words. |
| terms | string | no | |
| exclusions | string | no | |
| validUntil | string | no | The date the proposal is valid until, as it is to print. |
| paymentSchedule | array<object> | no | Stages of payment as the reader sets them; none is suggested. |
| groupByDivision | boolean | no | Group the scope by MasterFormat division. |
| includeNotes | boolean | no | |
| showQuantities | boolean | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
make_job_sheet
One-page job sheet for the van
The one-page job sheet a takeoff page prints for the van: the job's picture as SVG, key dimensions in metric and imperial, the build-up, each line going in with what to buy, labour hours by trade, and the link reopening the page on these figures. Words and figures for the PDF; no prices.
| Parameter | Type | Required | Description |
|---|---|---|---|
| takeoff | string | yes | The takeoff's id, such as concrete-slab or stud-wall. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit ("12 ft", {"value": 3.6, "unit": "m"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure. |
| selection | object | no | Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system. |
| leaveOut | array<string> | no | Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour. |
| paper | enum: "a4" | "letter" | no | The sheet's paper; the market's when left out. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
make_canvas_link
Open a job or worked example on the Construction Canvas
Draws a whole-job takeoff or a worked example at the figures given as a Construction Canvas drawing and returns the link that opens it; the drawing rides in the link's fragment, so nothing is uploaded. Says what the drawing cannot carry. For quantities, not a construction drawing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| takeoff | string | no | A takeoff the canvas draws, such as concrete-slab, stud-wall or asphalt-shingle-roof. |
| measurements | object | no | Measurement id → value, each length, area or volume with its unit ("12 ft", {"value": 3.6, "unit": "m"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure. |
| selection | object | no | Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system. |
| example | string | no | Or a worked example the canvas draws, such as attached-deck-built. |
| figures | object | no | The job's own figures by id (a deck's length, a room's height), each length or area with its unit; a count as a number. They follow down every step that reads them. |
| inputs | object | no | One step's own input, keyed " . " ("3.wastePercent"), each with its unit where it has one. |
| includeDocument | boolean | no | Also return the canvas document itself (JSON). |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| market | enum: "US" | "CA" | "UK" | "AU" | "INTL" | no | Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
get_illustration
Topic illustration (SVG) of a guide, comparison or page
Returns the topic illustration a page of the site carries: the SVG's address, its subject in words and its licence. One per guide, comparison, diagnosis, example, category, material and solve-backwards question; a shared plate for the glossary, methods, policies, standards and tools.
| Parameter | Type | Required | Description |
|---|---|---|---|
| family | enum: "guides" | "comparisons" | "diagnostics" | "worked-examples" | "calc-examples" | "categories" | "materials" | "solve-backwards" … | yes | The kind of page the drawing belongs to. |
| slug | string | no | The page's slug; left out, the family's own plate. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
trim_corner
Corner trim on your saw: mitre, bevel, stops and the gap
Cuts one corner of skirting, casing or crown molding on a named saw: per piece the mitre and bevel as its dials read, the stop each sits on, how the piece lies, which side to keep, whether the saw can make it; cope or mitre, and the gap a 45° cut leaves. No sizing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| trim | enum: "skirting" | "casing" | "crown" | yes | skirting (baseboard), casing (architrave, a frame corner) or crown (cornice). |
| corner | object | no | The corner as measured. For casing, the frame corner (90 for a square opening); its kind is ignored. |
| throughRoom | number | no | In place of corner: the angle read through the room (under 180 inside, over 180 outside), as the miter-angle calculator takes it. |
| method | enum: "upright" | "flat" | "nested" | no | How the piece goes on the saw: skirting and casing upright (against the fence) or flat (on the table); crown nested (upside down against the fence) or flat. Left out, the trim's usual one. |
| saw | enum: "double-bevel" | "slider-10" | "single-bevel" | "ninety-box" | "slot-box" | "table-sled" | "custom" | no | The saw from the site's library (each with its scale, its stops and its capacity); custom with customSaw. Left out, the 12-in double-bevel slider (DWS779 figures). |
| customSaw | object | no | With saw custom: the saw's own limits. |
| spring | number | no | Crown only: its spring angle from the wall, degrees (38 for 38/52, 45 for 45/45). Left out, 38. |
| depth | number | string | object | no | The depth the joint runs across in the plane of the turn: a skirting's thickness, a casing's face width, a crown's projection. Left out: 18 mm, 70 mm or 75 mm (3/4, 2 3/4 or 3 in). |
| height | number | string | object | no | Skirting only: its height, for the saw's upright capacity. Left out, 120 mm (4 3/4 in). |
| buildUp | number | string | object | no | Plaster or compound built up in the corner (it changes the angle the trim meets). Left out, none. |
| feather | number | string | object | no | The distance that build-up is feathered over along each wall. Left out, 150 mm (6 in). |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
plan_room_trim
Room trim plan: every piece, its ends and the stock
Plans trim round a room, piece by piece, from its corners, door openings and built-ins (or a drawn room): each piece in fitting order with its long and short point lengths, each end's cope, mitre, butt or scarf with its saw settings, the cut list and the trim lengths to buy.
| Parameter | Type | Required | Description |
|---|---|---|---|
| walls | array<object> | no | The walls in order round the room, up to 40, each with its length along the wall face (corner to corner). |
| corners | array<object> | no | corners[i] is at the end of walls[i], where it meets the next wall (one per wall; the last closes the room). |
| direction | enum: "cw" | "ccw" | no | cw (the default): facing each wall from the room, working left to right. ccw: the canvas's order. |
| drawing | object | no | In place of walls and corners: a Construction Canvas drawing in any form the drawing tool takes ({ document }, { commands }, { template }, { house }, { shapes }, { layout }); the room's inside faces, corners and doors are read from it as the canvas's Trim plan reads them. |
| room | string | no | With drawing: the room's id (R1 …). Left out, the drawing's only room. |
| trim | enum: "skirting" | "crown" | "picture-rail" | no | Left out, skirting. |
| method | enum: "upright" | "flat" | "nested" | no | How the piece goes on the saw: skirting and casing upright (against the fence) or flat (on the table); crown nested (upside down against the fence) or flat. Left out, the trim's usual one. |
| saw | enum: "double-bevel" | "single-bevel" | "ninety-box" | no | The saw profile the room plan's settings are read on (as the plan on the page): a mitre saw that tilts both ways (the default), one that tilts left only, or a mitre box with 90° at square. |
| spring | number | no | Crown only: its spring angle from the wall, degrees (38 for 38/52, 45 for 45/45). Left out, 38. |
| depth | number | string | object | no | The trim's depth across the joint (skirting thickness, crown projection). Left out, 18 mm (3/4 in) or 75 mm (3 in) for crown. |
| buildUp | number | string | object | no | Plaster built up in the corners. Left out, none. |
| casing | number | string | object | no | The door casing's width a skirting butts to beside a door. Left out, none (it butts to the opening's edge). |
| start | integer | no | The wall fitted first (index). Left out, 0. |
| insideJoint | enum: "cope" | "miter" | no | Inside corners coped (the default) or mitred. |
| stock | array<number | string | object> | no | The stock lengths on offer, with units. Left out, the market's usual trim lengths. |
| kerf | number | string | object | no | The saw's kerf. Left out, 3 mm (1/8 in). |
| minOffcut | number | string | object | no | Offcuts at least this long are kept. |
| studs | object | no | |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
scribe_template
Scribe template: the scribe line full size, SVG and DXF
Turns gaps measured off a straight line into a scribe line for an uneven surface: the widest and narrowest gap, the width to start from, the strip to cut away, the line as full-size SVG and DXF, and its print layout on A4, Letter or a roll. A pattern, not a fit.
| Parameter | Type | Required | Description |
|---|---|---|---|
| readings | array<object> | no | The gaps measured from a straight reference line to the wall: up to 200 stations, each where it is along the line and the gap there. |
| shape | object | no | |
| allowance | number | string | object | no | Board left beyond the widest gap. Left out, 10 mm (3/8 in). |
| paper | enum: "a4" | "a3" | "letter" | "tabloid" | "roll" | no | The paper the full-size template is tiled on. Left out, A4 for metric and Letter for imperial. |
| rollWidth | number | string | object | no | With paper roll: the roll's width. |
| overlap | number | string | object | no | Between adjacent sheets. Left out, the tiler's own. |
| orientation | enum: "portrait" | "landscape" | no | |
| formats | array<enum: "svg" | "dxf"> | no | The drawings to return. Left out, both. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
fit_panel
Fit a worktop, shelf or panel to walls that are not square
The true shape of a worktop, shelf or panel between walls that are not square: front and back lengths, setbacks, diagonals and the blank with scribe and bow, then the blank and any other parts nested on stock: part ids, grain, cut order, offcuts and edge banding. Geometry only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "worktop" | "shelf" | "board" | no | worktop (the default): worktop lengths. shelf: shelf boards. board: full sheets of plywood or board. |
| span | number | string | object | yes | Wall to wall (or to the free end), along the back wall, or along the front line with measuredAt front. |
| leftAngle | number | no | The room's inside angle between the back wall and the left wall, degrees; 90 square. Left out, 90. |
| rightAngle | number | no | |
| leftEnd | enum: "wall" | "open" | no | open: a free end, cut square. |
| rightEnd | enum: "wall" | "open" | no | |
| measuredAt | enum: "back" | "front" | no | |
| backWall | boolean | no | Is there a wall along the back? Left out, yes. |
| depth | number | string | object | no | The finished depth, front edge to back wall. Left out, the kind's usual. |
| scribe | number | string | object | no | Left on every edge that meets a wall, to scribe off in place. Left out, the kind's usual. |
| gap | number | string | object | no | Left clear at each wall end. Left out, the kind's usual. |
| bow | number | string | object | no | The back wall's greatest departure from straight. Left out, none. |
| count | integer | no | How many of the fitted piece. Left out, 1. |
| label | string | no | |
| parts | array<object> | no | Other parts nested on the same boards (a carcass's sides and shelves). |
| stock | integer | no | An index into the kind's stock sizes for the market (listed in the answer's stockOffered). Left out, the size that buys least. |
| sheet | object | no | |
| kerf | number | string | object | no | The saw's kerf. Left out, 3 mm (1/8 in). |
| trim | number | string | object | no | Cut off every board edge before nesting. Left out, the kind's own (10 mm on a full sheet). |
| mode | enum: "guillotine" | "free" | no | guillotine (the default): every cut edge to edge, for a panel or track saw. free: also layouts needing plunge cuts (CNC). |
| grain | boolean | no | Hold the grain or decor along the run (the default). |
| bandFront | boolean | no | Band the front edge of the fitted piece. |
| bandAllowance | number | string | object | no | Tape added to every banded edge for trimming flush. |
| minOffcut | number | string | object | no | An offcut is listed for reuse when it is at least this big either way. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
fit_worktop_run
Worktop run round corners: pieces, joints and lengths
A worktop along several wall faces, as the Construction Canvas cuts it: each piece's true shape at the room's real angles, butt or mitre joints at corners, long straights joined, the front run and free ends, and the blanks nested on worktop lengths with the cut order and banding. Not sized.
| Parameter | Type | Required | Description |
|---|---|---|---|
| faces | array<object> | yes | The wall faces the run follows, in order, each with its length along the wall. |
| corners | array<object> | no | Between face i and face i + 1 (one fewer than the faces): inside or outside, the room's inside angle, and how the pieces meet. |
| start | object | no | |
| finish | object | no | |
| depth | number | string | object | no | The finished depth, front edge to back wall. Left out, the kind's usual. |
| scribe | number | string | object | no | Left on every edge that meets a wall, to scribe off in place. Left out, the kind's usual. |
| gap | number | string | object | no | Left clear at each wall end. Left out, the kind's usual. |
| bow | number | string | object | no | The back wall's greatest departure from straight. Left out, none. |
| jointAt | number | string | object | no | Where a straight longer than the stock is joined, along its back from its start. Left out, an even split. |
| jointsAt | array<number | string | object> | no | A joint position per straight, in run order (faces in line make one straight): where that straight is joined, along its back from its start, if it is longer than the stock. "0 mm" splits it evenly; a straight past the end of the list takes jointAt. |
| stock | integer | no | An index into the kind's stock sizes for the market (listed in the answer's stockOffered). Left out, the size that buys least. |
| kerf | number | string | object | no | The saw's kerf. Left out, 3 mm (1/8 in). |
| grain | boolean | no | Hold the grain or decor along the run (the default). |
| bandFront | boolean | no | Band the front edge of the fitted piece. |
| bandAllowance | number | string | object | no | Tape added to every banded edge for trimming flush. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
miter_chart
Mitre saw angle chart: corners from 80° to 150°
The mitre saw chart for trim corners: per corner angle the mitre each piece takes, the outside corner read through the room, the gap a 45° cut leaves on 18 mm and 3/4 in trim and where it opens, crown laid flat (38/52 and 45/45) mitre and bevel, and the handing table. Any corners on request.
| Parameter | Type | Required | Description |
|---|---|---|---|
| angles | array<number> | no | The corners θ to chart, degrees. Left out, the site's chart: 80° to 100° in half degrees, then 120°, 135° and 150°. |
| handing | boolean | no | Include the handing table (which way each piece swings and tilts at a square corner). Left out, yes. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
print_template
Full-size print template as SVG and DXF
The full-size template a calculator page prints: a stair stringer or step gauge, rafter cuts, a cone or frustum pattern, an arch's centring or voussoirs, an anchor bolt setting jig or plate, a curved plate, a spiral stair's tread, winder blanks, a housed or ladder stringer, a split stair's stringers, a handrail gooseneck; lines as SVG and DXF, its checks and omissions, its tiling on paper.
| Parameter | Type | Required | Description |
|---|---|---|---|
| calculator | enum: "stair-calculator" | "stair-stringer-calculator" | "landing-stair-calculator" | "cone-frustum-development-calculator" | "curved-wall-stud-layout-calculator" | "anchor-bolt-pattern-layout-calculator" | "arch-rise-span-ratio-calculator" | "common-rafter-length-calculator" … | yes | The calculator whose page offers the template: a stair stringer and step gauge, a rafter, a cone or frustum pattern, a curved wall's plate, an anchor bolt setting board or plate, an arch's centring or voussoirs; a spiral stair's tread or landing, a turn's winder blanks, a housed string or ship's la… |
| inputs | object | no | The calculator's own inputs by id, with their units, as its page takes them; left out, the values its page opens on. |
| kind | string | no | Which of the family's two templates: stringer gauge or whole; rafter cuts or whole; cone whole or half; arch centring or voussoirs; bolts setting or plate; plate segment or whole; spiral tread or landing; winders each or turn; housed and ladder gauge or whole; split first, return or gauge; goosenec… |
| fields | object | no | The template's own figures by id (a stringer's board depth and tread thickness, a cone's lap …), with units; left out, the page's defaults for the system (or the calculator's own figure where the page opens on it). The answer lists them. |
| paper | enum: "a4" | "a3" | "letter" | "tabloid" | "roll" | no | Left out, A4 for metric and Letter for imperial. |
| rollWidth | number | string | object | no | With paper roll: the roll's width. |
| overlap | number | string | object | no | Between adjacent sheets. Left out, 10 mm. |
| orientation | enum: "portrait" | "landscape" | no | |
| formats | array<enum: "svg" | "dxf"> | no | The drawings to return. Left out, both. |
| system | enum: "metric" | "imperial" | no | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
edit_drawing
Edit a canvas drawing: move walls, add doors and windows
Changes a Construction Canvas drawing (its link, its document or any form a new drawing takes) by simple edits through the canvas's own commands: move a wall (joined walls follow), set a length, add a door or window, set properties or type, remove, add, set a level; returns the drawing, its revision, the link, the diff and the quantities that changed. baseRev refuses a stale drawing. Not sized.
| Parameter | Type | Required | Description |
|---|---|---|---|
| link | string | no | A Construction Canvas drawing link (https://craftquantities.com/construction-canvas/#d=…, as the engine and the canvas's Share give it), or its code. |
| document | object | no | A Construction Canvas document (schema 1 to the canvas's current), opened by the canvas's own opener. Its JSON Schema: https://craftquantities.com/schemas/canvas-drawing-5.json. |
| drawing | object | no | A drawing in any form the engine draws from: house, commands, document, shapes, layout or template. |
| operations | array<object> | yes | The edits, in order, each through the canvas's own commands. One that the canvas refuses refuses the whole request, with every problem: nothing is half-applied. |
| system | enum: "metric" | "imperial" | no | The system lengths are read in and the quantities listed in (both are listed); default the drawing's own. |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| baseRev | string | no | The revision the edits are meant for (a rev or baseRev an earlier answer gave). When the drawing sent is not that revision (somebody changed it since), the request is refused with 409 and nothing is applied, as an If-Match. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
plan_set_takeoff
Take off plan sheets: counts, lengths, areas per layer
Totals a set of drawing sheets as the plan takeoff does: each sheet with its own scale (from a known line, or pixels per mm), counts, lengths and areas read off them in the sheet's pixels, layers adding up across the sheets; returns each layer's total and each sheet's share in metric and US units, unscaled marks left out and named. Points in, no picture; not sized.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The set's name (default Plan set). |
| sheets | array<object> | yes | The sheets, each with its scale and its marks. At most 500 marks and 20,000 points in all. |
| system | enum: "metric" | "imperial" | no | The system lengths are read in (both are returned). |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
roof_framing
Roof framing: rafter lengths, cuts, birdsmouth and templates
Lays out a gable or hip roof (optionally a gable wing with valleys) from the caller's own sizes: each common, hip, valley and jack rafter's length along the line, birdsmouth and HAP, plumb and cheek cuts as saw settings, hip backing, a cut list on the caller's stock, and a member's full-size template as SVG and DXF; both systems. Geometry only: it does not size structure.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "gable" | "hip" | no | gable or hip (default hip). |
| span | number | string | object | no | Building width across the ridge, outside faces of the wall plates ("24 ft", "8 m"). |
| length | number | string | object | no | Building length along the ridge. |
| pitch | number | no | Rise per 12 of run (6 for 6/12). Or give pitchDegrees. |
| pitchDegrees | number | no | The pitch in degrees, as an alternative to pitch. |
| overhang | number | string | object | no | Level, from the wall's outer face to the tail's plumb cut. |
| rake | number | string | object | no | Gable ends (and a wing's gable end): how far the roof runs past the gable wall. |
| rafterDepth | number | string | object | no | Actual depth of the commons and jacks (a 2×8 is "7.25 in"). |
| rafterThickness | number | string | object | no | Actual thickness of the commons and jacks ("1.5 in", "45 mm"). |
| hipDepth | number | string | object | no | Actual depth of the hips and valleys. |
| hipThickness | number | string | object | no | Actual thickness of the hips and valleys. |
| ridgeThickness | number | string | object | no | The ridge board's thickness. |
| plateWidth | number | string | object | no | The wall plate's width (the seat bears on it). |
| heightAbovePlate | number | string | object | no | The commons' height above the plate (HAP); left out, the seat bears on the whole plate. |
| hipTop | enum: "drop" | "back" | no | Drop the hips and leave them square (default), or back them. |
| spacing | number | string | object | no | Rafter centres along the plate ("16 in", "600 mm"). |
| fasciaThickness | number | string | object | no | The fascia board's thickness. |
| wing | object | no | An equal-pitch gable wing on the front wall: gives the valleys, valley jacks and cripples. |
| stock | array<number | string | object> | no | The stock lengths the caller can buy, each with its unit; left out, the page's list for the system. |
| kerf | number | string | object | no | Saw kerf, charged on every cut (default 1/8 in or 3 mm). |
| template | object | no | One member as a full-size template (1:1, millimetres). |
| system | enum: "metric" | "imperial" | no | The system figures are read in and printed first (both are returned). |
| inputUnits | enum: "base" | no | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
| detail | enum: "full" | "summary" | no | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. |
| lang | enum: "en" | "es" | "es-US" | "fr" | "fr-CA" | "pt" | "pt-BR" | no | The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the… |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.craftquantities.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http engine https://api.craftquantities.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : engine ; URL : https://api.craftquantities.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : engine ; Server URL : https://api.craftquantities.com/mcp ; Create as a plugin{
"mcpServers": {
"engine": {
"url": "https://api.craftquantities.com/mcp"
}
}
}{
"mcpServers": {
"engine": {
"type": "http",
"url": "https://api.craftquantities.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"engine": {
"url": "https://api.craftquantities.com/mcp"
}
}
}{
"mcpServers": {
"engine": {
"httpUrl": "https://api.craftquantities.com/mcp"
}
}
}[mcp_servers.engine]
url = "https://api.craftquantities.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Craft Quantities: construction material calculators · L’Atlas · Tested on
[Craft Quantities: construction material calculators — L’Atlas](https://latlas.dev/en/mcp/com.craftquantities/engine)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.