WebMCP
In the browser · opt-in
Let the browser's assistant work the page you have open
WebMCP lets a web page hand its own functions to an assistant that lives in the browser. On this site every page offers a few, from search to My Project, and each kind of page adds its own: a calculator, a takeoff, the planners, the canvas, the quote checks, the field tools and the reading pages. The assistant reads and changes what the reader is looking at instead of guessing from the screen.
- 199Page tools
- 54Kinds of page
document.Browser APImodelContext - UndoEvery change
Tools by page
Each kind of page registers the tools below, under the names the assistant sees. The seven site-wide tools are on every page; the others exist while their page is open. A tool’s title, description and parameters are printed as the assistant receives them. An asterisk marks a required parameter.
- Reads only reads the page or what the browser keeps.
- Changes what is kept changes a project, plan, drawing, price book or preference, through the page’s own controls.
- Changes the view opens a page, a tab or a file for this visit only.
On every page
Every page 7
For example /
| Tool | What it does | Parameters |
|---|---|---|
search_siteReads | Search Craft Quantities Searches the whole site — construction calculators, whole-job takeoffs (bills of materials), how-to guides, glossary terms, worked examples, comparisons, diagnostics, materials, methodology and trade hubs — with the site's own search box index, and returns the best pages with their address. Use it to find the right calculator or takeoff before open_page. Returns The matching pages, best first: kind, title, description, path and full address. |
{"query":"concrete slab","limit":5} |
open_pageChanges the view | Open a page of the site Opens one of the site's own pages in this tab, as a link click does (a calculator, a takeoff, a planner, My Project, a guide…), waits for it to show and returns its title. The page's own tools register once it is open; list_tools_here names them. Only addresses on this site. Returns The opened page's address, title, heading and description. |
{"path":"/build/"} |
get_page_summaryReads | Summarise the page open now What the open page is and holds: its title, heading, description, opening paragraph, section headings with anchors, cited sources, breadcrumbs, structured-data types and its Markdown twin's address, plus what the page's own tools add (the calculator or takeoff it runs, its current inputs). Read it before using the page's tools. Returns url, canonical, language, title, heading, description, lead, breadcrumbs, sections [{heading, anchor}], sources [{text, url}], structuredData types, markdownTwin, and `page` (the page's own facts) where its tools provide them. | — |
set_preferencesChanges what is kept | Set units, market, language or light/dark Sets the reader's preferences as the header's controls do: the unit system (metric or US customary — every calculator answers in it), the market (US, Canada, UK, Australia or international: default materials, codes and currency symbol), the page's language (English, Spanish, French or Portuguese, where the page has that version) and the light or dark scheme. Kept in this browser. Returns What was set, then the unit system, market, language and address now. |
{"units":"metric","market":"UK"} |
list_tools_hereReads | List the tools on this page Every WebMCP tool registered in this tab now — the site-wide ones and the open page's own — with what each does and whether it only reads or changes something kept (My Project, a plan, a drawing, a preference). The page's tools change when another page opens. Returns path, and tools [{name, title, description, readOnly, consequential}]. | — |
add_to_my_projectChanges what is kept | Add to My Project Adds to the open project in My Project (kept in this browser): with no calculator named, what this page shows now — a calculator's answer, a takeoff's bill of materials, a plan's lines — as the page's own Add to Project adds it; with a calculator slug and inputs, that calculator's answer as one line. The project's Undo takes it back. Quantities only, no prices. Returns added [{id, label, quantity, unit, area, calculator}] and the project {id, name}. |
{"calculator":"concrete-calculator","inputs":{"slabLength":"4 m","slabWidth":"3 m","slabThickness":"100 mm"}} |
get_my_project_summaryReads | Summarise My Project The project open in My Project (kept in this browser): its name, how many lines and areas, and every quantity summed by unit — what the project holds, not an order and not a price — with its address. Returns project {id, name}, totals {lines, byUnit [{unit, quantity, lines}], note}, areas, linesPricedByThePerson, url. | — |
Calculators and takeoffs
Every calculator page 11
For example /calculators/materials-quantities/concrete-calculator/
| Tool | What it does | Parameters |
|---|---|---|
run_calculatorReads | Run the Concrete Calculator Concrete Calculator: Estimate how much concrete a slab needs — in cubic yards or cubic metres, and as a count of premix bags. Runs this page's calculator on the inputs given, exactly as the page does, without changing the page (a what-if), and returns the answer and every named line in metric and US customary with the inputs used, the sources and the page link. Quantities only: no prices, no design, no certification. Returns The engine's answer: calculator {slug, title, version, lastVerified, url}, inputs used (base unit and both systems' display), result {label, metric, imperial} each with value, unit, printed and breakdown, lines (every named line in both systems), sources [{label, url}], citation and links {page, open}. |
{"inputs":{"slabLength":"3 m"},"system":"metric"} |
read_current_resultReads | Read the Concrete Calculator's current answer The answer the Concrete Calculator page shows now, on the inputs, unit system and market the person has set: the headline and every breakdown line in both metric and US customary, every input used, confidence, allowance and limits, sources and a link that opens the same working. Returns The same answer as run_calculator, on the page's own inputs now: result {label, metric, imperial}, lines (every named line in both systems), inputs, sources, links. | — |
read_calculator_inputsReads | Read the Concrete Calculator's inputs Every input field of the Concrete Calculator page as it stands now: its id, label, the value shown in the reader's unit system and in its base unit, both systems' display, whether it is shown, its accepted units, options, written-for range, help and opening value. Read it before set_calculator_inputs. Returns inputs [{id, label, type, shown, display (as the field shows it), value (in the reader's display unit), base {value, unit}, metric, imperial, acceptedUnits, options [{value, label}], option, range {min, max, unit (base)}, help, opening {metric, imperial}}], with the system and market. | — |
set_calculator_inputsChanges what is kept | Set the Concrete Calculator's inputs on the page Types values into the Concrete Calculator page's own fields, by input id (a measured value with its unit, a choice by its option value), or fills the page's typical example first, as its Fill in a typical example button does. The form shows them, the page keeps them for the person's next visit, and the new answer is returned in both unit systems once the page shows it. Setting a field back is the way to undo it. Returns changed [{id, label, was, now (as the field shows them), base (base unit)}], shownOnPage, then the page's new answer as read_current_result gives it (result, lines, inputs, sources, links). |
{"inputs":{"slabLength":"3 m"}} |
get_calculator_methodReads | How the Concrete Calculator works it out The Concrete Calculator page's method: its formulas (each linked to the site's formula library), the method steps and the same steps with the page's current numbers ("Formula with your numbers"), key facts with their sources, every source with its address, the typical example worked, the limits and allowance on the current answer, methodology papers, worked examples, version and the date its sources were last checked. Returns calculator {slug, title, version, lastVerified, url}, formulas [{equation, url}], method [{name, text}], withYourNumbers [{name, text}] (figures with their units), keyFacts [{text, source {label, url}}], sources [{label, url}], assumptions {confidence, allowance, limitations, openingValues}, typicalExample {inputs, lines}, methodology and workedExamples [{name, url}], changelog, citation; explain (the trace) when asked. |
{"explain":false} |
pin_calculator_resultChanges the view | Pin the answer on the page Presses the Concrete Calculator page's own Pin this result (or unpins it): the answer is frozen on screen and, as the inputs change, the page shows how far the live answer has moved and which fields moved it. Pinning again re-pins at the answer shown now. Only this visit's view changes. Returns pin {pinned, pinnedFigure (as printed), difference (the page's moved-by line), changed (the fields that moved it)}. |
{"pinned":true} |
read_calculator_comparisonReads | Read the page's A/B comparison and pin What the Concrete Calculator page is comparing now: the pinned answer and how far the live one has moved, and the open A/B comparison — scenario A (frozen) against B (the form), every line of each in the reader's unit system with the difference, and the inputs that differ. Returns pin {pinned, pinnedFigure, difference, changed} or null, and comparison {aName, bName, rows [{label, a, b (printed), unit, difference}], changedInputs [{id, label, a, b}], a and b {inputs, lines}} or null. | — |
set_calculator_comparisonChanges what is kept | Work the page's A/B comparison Works the Concrete Calculator page's own Compare A/B: freezes the form as scenario A (then set_calculator_inputs builds B), exchanges the two (the form takes A's inputs), puts A's inputs back in the form, closes the comparison, or names a scenario — each as the comparison's own button does. Returns the comparison as read_calculator_comparison reads it. Returns The comparison after the press, as read_calculator_comparison returns it: pin and comparison {aName, bName, rows, changedInputs, a, b}. |
{"action":"start"} |
get_calculator_share_linkReads | Get the page's share link and copy The Concrete Calculator page's own share link — it opens the page on these inputs, unit system and market (and the A/B comparison and rooms, where open) — with the answer as text or Markdown exactly as the page's share panel copies it, and the embed code its Embed control copies. Returns url (the page's share link), system, market, comparison (whether the link carries an A/B), text (the answer as the share panel copies it, null without a figure), embed {snippet (iframe HTML), builder (URL)}. |
{"format":"markdown"} |
download_calculationChanges what is kept | Download the calculation as a file Presses the Concrete Calculator page's own download: the PDF calculation sheet (inputs, answer, breakdown, sources, a link and QR code back to this working) or, on the loan pages, the yearly schedule as CSV. The browser saves the file to the person's device. Returns pressed (which of the page's buttons) and format; the file itself is saved by the browser. |
{"format":"pdf"} |
print_calculationChanges the view | Print the calculation sheet Presses the Concrete Calculator page's own Print calculation: the browser's print dialog opens on the calculation sheet (inputs, answer, breakdown, sources, a link and QR code back to this working), where the person prints or saves it. Returns pressed: the page's button; the dialog is the browser's. | — |
The stair calculator pages, as well 3
For example /calculators/materials-quantities/spiral-staircase-calculator/
| Tool | What it does | Parameters |
|---|---|---|
compute_stair_flightReads | Work out a spiral staircase calculator (spiral, helical and curved stairs: treads, going, headroom and handrail) as the page draws it Works the stair this page draws and lists — its risers, goings, set-out, parts and the code readout — by the page's own stair code, for the inputs given, without changing the page. Use it to try a stair before setting it on the page. Returns calculator, system, inputs used (base unit and both systems), plan (every figure the panel draws: risers, treads or count, rise, going, set-out and parts; lengths in metres unless named mm, an endless headroom as "none"), readout {within, sentences} against the chosen code, and the note. |
{"system":"metric"} |
read_stair_cut_listReads | Read the stair's cut list as the page shows it The stair panel as the person sees it now, on their inputs and unit system: its figures, the list of what to cut, fix or buy, and the code readout. Returns calculator, figures [[label, value]] and rows [[item, to cut or fix, size]] as printed on the page in the reader's units, caption, readout (the code sentences), problem (null when the stair draws) and the note. | — |
open_stair_in_canvasChanges the view | Open this stair in the Construction Canvas Presses the page's own Open in Canvas: the stair on the page, at the person's figures, is drawn in the Construction Canvas and the page moves there. Nothing is saved to the person's project until they make the drawing theirs. Returns opening: true and the canvas path; the page then moves to the Construction Canvas, whose own tools take over. | — |
Every takeoff page 17
For example /build/asphalt-shingle-roof/
| Tool | What it does | Parameters |
|---|---|---|
run_takeoffReads | Run the Asphalt shingle roof takeoff Asphalt shingle roof: Shingles, deck, underlayment, ice-dam membrane, drip edge, starter, nails, ridge cap and vents, with gutter, flashing, hip and tear-off add-ons. Works the whole job on the measurements and build-up given, as this page does, and returns every row's quantity, what to order and the calculator behind it. Nothing on the page changes. Quantities only: no prices, no design, no certification. Returns The takeoff envelope: measurements used (with metric and US values), the build-up, every row (quantity and unit, order, chain, tier, material id, labour hours, left out), labour, sources, links. |
{"measurements":{"footprintLength":"12 m"},"system":"metric"} |
describe_takeoffReads | What the Asphalt shingle roof takeoff asks for The Asphalt shingle roof takeoff's measurements with their units and opening figures in both systems, its build-up choices, the calculators it runs and what it does not count. Returns takeoff, measurements (id, label, dimension, accepted units, opening in both systems), choices with their options, steps (row key, calculator, tier, material id) and what is not counted. | — |
read_current_takeoffReads | Read the Asphalt shingle roof takeoff on the page's figures The Asphalt shingle roof takeoff worked by the engine on the measurements, build-up and unit system set on the page, at the takeoff's own allowances and with every row in. The bill with the person's ticks, switches and allowances is read_takeoff_bill. Returns The same envelope as run_takeoff, worked on the page's measurements (base units), build-up, system and market. | — |
read_takeoff_billReads | Read the Asphalt shingle roof bill as the page shows it The Asphalt shingle roof bill of materials exactly as the page shows it now, with the person's choices: core materials, accessories and consumables by heading, optional add-ons. Each row has its quantity and unit, what to order, its canonical material id and bill key, its calculator, its allowance and whether it goes in (and why not). Returns takeoff, system, measurements (in the person's units), buildUp, choices (rows left out, add-ons on, own fixings, allowances changed), section counts, goingIn, rows [{row, line, section, group, goesWith, state, quantity, unit, order {quantity, unit, rule}, allowance {percent, name, source, changedHere, changeable}, material, materialName, billKey, calculator {slug, title, url}, goingIn, notGoingInBecause}], myProject, sources, link. |
{} |
read_takeoff_labourReads | Read the Asphalt shingle roof labour and programme The Asphalt shingle roof takeoff's Labour tab for the rows going in now: person-hours per row as a low, likely and high band, each production rate's basis, source and what moves it, the total, and the programme trade by trade in working days. Hours only: never money. Returns rows [{key, name, kind, hours {low, likely, high} person-hours, rate {operation, personHoursPerUnit, per, basis, source, whatMovesIt}}], totalHours, programme [{trade, crew, rows, hours, days, startDay}], likelyDays, note; no money. | —{} |
export_takeoffReads | Export the Asphalt shingle roof takeoff as text The Asphalt shingle roof takeoff as the page exports it, returned as text: the spreadsheet (CSV) the download key saves, the shopping list the copy key copies, or the link that reopens these exact figures. Read-only; to save a file use download_takeoff_file. Returns format and the text (CSV with its part-of-the-bill column, the shopping list) with its media type, or the share link url. |
{"format":"csv"} |
set_takeoff_measurementsChanges what is kept | Set the Asphalt shingle roof measurements on the page Types measurements into the Asphalt shingle roof takeoff page's boxes, as the person would: a length, area or volume with its unit ("4.2 m", "14 ft"), a count as a number. The bill redraws; each measurement is one step of the page's Undo. Returns the bill as the page shows it. Returns changed (what was set), shown (whether the page had redrawn) and bill (as read_takeoff_bill returns it). |
{"measurements":{"footprintLength":"12 m"}} |
toggle_takeoff_rowChanges what is kept | Leave Asphalt shingle roof rows out or put them back Ticks or unticks rows of the Asphalt shingle roof takeoff's core materials table, as the person does: a row left out stays worked and shown but is not counted, exported or added to My Project, and its accessories leave with it. One step of the page's Undo. Returns changed, shown and bill (as read_takeoff_bill returns it), with each row's goingIn and notGoingInBecause. |
{"rows":["roofing-shingle-calculator"],"goingIn":false} |
set_takeoff_allowanceChanges what is kept | Change a Asphalt shingle roof row's allowance Changes the waste or overlap allowance on one row of the Asphalt shingle roof takeoff, as the table's allowance cell does (a percentage from 0 to 100), or puts it back to the calculator's own figure. The row's adjusted and order figures follow; one step of the page's Undo. Returns changed, shown and bill (as read_takeoff_bill returns it); the row's allowance shows the percent and changedHere. |
{"row":"roofing-shingle-calculator","percent":12} |
set_takeoff_accessoriesChanges what is kept | Supply your own Asphalt shingle roof fixings The Asphalt shingle roof takeoff's switch "I supply fixings and consumables myself": on, every accessory and consumable row is left out of the bill (still worked and shown); off, each goes in with the material it belongs to. One step of the page's Undo. Returns changed, shown and bill (as read_takeoff_bill returns it); choices.supplyOwnFixings and each accessory's goingIn. |
{"supplyOwn":true} |
set_takeoff_addonsChanges what is kept | Switch Asphalt shingle roof add-ons on or off Switches the Asphalt shingle roof takeoff's optional add-ons on or off, as their switches on the page do: an add-on is off until switched on, and the rows that follow it come in with it. Each switch is one step of the page's Undo. Returns changed, shown and bill (as read_takeoff_bill returns it); choices.addOnsOn and each add-on row's goingIn. |
{"on":["valley-metal"]} |
set_takeoff_variantChanges what is kept | Choose the Asphalt shingle roof build-up on the page Chooses the Asphalt shingle roof takeoff's build-up on the page, as its choice buttons do; a choice another one rules out is put right the page's way. The rows follow and the address keeps the choice; each choice is one step of the page's Undo. Returns the bill as shown. Returns changed (each choice made), shown, selection (the build-up now, by choice id) and bill (as read_takeoff_bill returns it). |
{"selection":{"framing":"rafters"}} |
reset_takeoffChanges what is kept | Reset the Asphalt shingle roof takeoff to its opening figures The Asphalt shingle roof page's "back to the opening figures": every measurement at its opening value in the units showing, every allowance at its calculator's own, every row ticked, add-ons off and the accessories in. The build-up stays as chosen. One step of the page's Undo, which takes it back. Returns changed, shown and bill (as read_takeoff_bill returns it) at the opening figures. | —{} |
undo_takeoff_changeChanges what is kept | Undo or redo a Asphalt shingle roof change The Asphalt shingle roof page's Undo (or Redo) key: takes back the last change to the measurements, build-up, rows, allowances, add-ons or own-fixings switch, whoever made it. Does not touch My Project, which has its own Undo. Returns changed, shown and bill (as read_takeoff_bill returns it) after the step. |
{} |
add_takeoff_to_projectChanges what is kept | Add the Asphalt shingle roof bill to My Project The Asphalt shingle roof page's "Add … to my project" press: every row going in becomes a line in the open project, labelled with the takeoff's name; a takeoff already there is updated, never added twice. Returns the lines as My Project holds them; no prices. Returns added (the takeoff's lines in My Project: id, label, quantity, unit, area, calculator), replaced (how many lines it had there before) and project {id, name}. | —{} |
download_takeoff_fileChanges what is kept | Download the Asphalt shingle roof takeoff as a file Presses one of the Asphalt shingle roof page's download keys, so the browser saves the file: the spreadsheet as CSV or Excel, the table as a PDF, the job sheet PDF, or the build sheet PDF where the page offers one. The file is the page's own; the answer says which key was pressed. Returns format and pressed (true once the page's key was pressed; the browser saves the file). |
{"format":"csv"} |
open_takeoff_in_canvasChanges the view | Open the Asphalt shingle roof takeoff in the Construction Canvas The picture's "Open in Canvas": this Asphalt shingle roof job at the page's measurements and build-up, as a drawing in the Construction Canvas's read-only viewer. Nothing is saved until the person keeps it. Returns the drawing link, and opens it unless asked not to. Returns url (the canvas drawing link, carried in the address's fragment), opened, leftOut (what the drawing could not show) and notes. |
{"navigate":false} |
Planners and studios
Every planner 11
For example /plan/deck/
| Tool | What it does | Parameters |
|---|---|---|
describe_plannerReads | What this planner asks for The figures this planner needs, its surfaces and their finishes, its scope questions and rows, with the ids add_plan_space and edit_plan_space take. Use it before planning or editing a space. Returns kind, url, figures [{id, label, dimension length, required}], openings (room: standard sizes in m), surfaces [{role, finishes [{id, label}]}], scope [{name, answers}], intents, branches [{id, label, trade}], decisions. |
{} |
list_plan_spacesReads | List the spaces in this planner's plan Every space in the plan on this planner page — rooms, decks, pools, walls, stairs … — with its id, kind, name and figures (metres, and as text in the person's units), its doors and windows, and which space is open on the page. Returns open (the open space's id), system, spaces [{id, kind, name, figures {id: {value, unit m, text}}, doors, windows}]. | — |
add_plan_spaceChanges what is kept | Plan a space on this planner Plans one space of any kind the planner makes, from its figures and the person's choices, adds it to the plan on the page and opens it there, as one undoable step. Returns the space as the planner works it. Returns The new space as read_plan returns it: space {id, kind, name, figures}, choices, spaces, system, outcomes [{branch, label, trade, status, quantity, unit}], lines [{label, quantity, unit, zone}]. |
{"figures":{"length":"4 m","width":"3.5 m"},"name":"Study"} |
edit_plan_spaceChanges what is kept | Change a space on this planner Changes one space of the plan on the page — its name, figures (lengths with units), a room's doors and windows, surface finishes, scope answers, the trade asked for, rows left out or put back, and figures given to a row — as one step the page's Undo takes back, then returns the space worked again. Returns The space as read_plan returns it after the change: space {id, kind, name, figures (m)}, choices {finishes, scope, intent}, outcomes [{status, quantity, unit}], lines. |
{"name":"Back bedroom"} |
remove_plan_spaceChanges what is kept | Remove a space from this planner's plan Takes one space out of the plan on the page, as the space switcher's remove does; the page's Undo (undo_plan_edit) puts it back. My Project is not touched until the plan is saved again. Returns removed {id, kind, name} and the spaces left [{id, kind, name}]. |
|
undo_plan_editChanges what is kept | Undo the last change to the plan Takes back the last change to the plan on this planner page — a space added, edited or removed, a figure typed — exactly as the page's Undo button does, and returns the plan's spaces. Returns spaces [{id, kind, name}] after the step, canUndo, canRedo. | — |
redo_plan_editChanges what is kept | Redo a change to the plan Puts back the change the planner page's Undo last took back, exactly as its Redo button does, and returns the plan's spaces. Returns spaces [{id, kind, name}] after the step, canUndo, canRedo. | — |
read_planReads | Read a space of the plan on this planner A space of the plan on the page (the open one unless another is named), as the planner works it: every row with its quantity and unit or what it still needs, its choices, the plan's spaces, and the lines a save would put in My Project. Returns space {id, kind, name, figures (m)}, choices {finishes, scope, intent}, spaces, system, outcomes [{branch, label, trade, status, quantity, unit, measures}], lines [{label, quantity, unit, zone}]. |
{} |
export_plan_drawingReads | Export the planner's drawing as SVG The plan drawing shown on this planner page as a standalone SVG file's text, written by the page's own exporter (the same as its Download SVG), colours set on every mark and a caption line. Nothing is downloaded. Returns filename, mediaType image/svg+xml, bytes, content (the SVG text). |
{} |
download_plan_drawingChanges the view | Download or print the planner's drawing Presses the planner page's own export item for the drawing on screen: an SVG or a PNG file saved by the browser, or the printed plan sheet (the browser's print dialog, where Save as PDF is offered). Changes nothing in the plan. Returns pressed: the export item pressed (svg, png or print). |
{"format":"svg"} |
save_plan_to_projectChanges what is kept | Save the plan to My Project Saves the whole plan on this planner page to the open project in My Project, as the page's own Save button does: every space's lines replace the plan's earlier lines, in one step the project's Undo takes back. Returns the lines written. Quantities only. Returns added [{id, label, quantity, unit, area, calculator}] (the lines written), project {id, name}, lines (the project's line count). | — |
Room sketch 9
For example /plan/sketch/
| Tool | What it does | Parameters |
|---|---|---|
sketch_roomChanges what is kept | Draw a room on the sketch page Draws one room on this page from its corners in order (x to the right, y up, as a plan is read), with its ceiling height, its doors and windows and how it is finished, and returns its floor area, perimeter, net wall area, every wall's length, a link that opens it and, for a square-cornered room of up to eight corners, its full bill of materials: core materials, accessories and consumables (fixings, tapes, primers, sealants, beads, underlay), the add-ons asked for, each from its own calculator, with labour hours. Quantities only: no prices. Replaces the room on the page as one step the page's Undo takes back. Returns figures {floorArea, perimeter, ceilingHeight, netWallArea, openings, openingArea} as text with units, walls [{wall, length, lengthMm, measured}], openings [{opening, kind, wall, width, height}], finish, rows (every ready bill row with quantity, unit, tier core/accessory/add-on, group and labour hours), labour {low, likely, high}, waiting (rows that need a figure only the reader knows), link, planner. |
{"corners":[{"x":0,"y":0},{"x":4,"y":0},{"x":4,"y":3},{"x":0,"y":3}],"unit":"m","openings":[{"kind":"door","wall":1}]} |
edit_sketch_roomChanges what is kept | Change the room on the sketch page Changes the room drawn on this page as its own controls do: a wall's measured length (the first wall measured scales the rest, as the page's Scale them all), the ceiling height, and doors and windows resized, removed or added. One step the page's Undo takes back; returns the room read again. Returns The room as read_sketch returns it after the change: figures, walls [{wall, length, measured}], openings [{opening, kind, wall, width, height}], rows, link. |
{"height":2.6,"unit":"m"} |
clear_sketchChanges what is kept | Clear the sketch page Takes the room off the sketch page, as its Clear (the bin) does, to start again; the page's Undo (undo_sketch_edit) brings it back. Nothing in My Project is touched. Returns cleared: true once the page shows no room. | — |
undo_sketch_editChanges what is kept | Undo the last change on the sketch page Takes back the last change to the room on the sketch page — drawn, measured, an opening, cleared — as the page's Undo button does, and reads the room it leaves. Returns The room after the step as read_sketch returns it, or plan null when the page shows none. | — |
redo_sketch_editChanges what is kept | Redo a change on the sketch page Puts back the change the sketch page's Undo last took back, as its Redo button does, and reads the room it leaves. Returns The room after the step as read_sketch returns it, or plan null when the page shows none. | — |
read_sketchReads | Read the room on the sketch page The room drawn on this page: every wall's length and whether it was measured, its doors and windows by number, the floor area, perimeter and net wall area, a link that opens it, and its full bill of materials (core, accessories and consumables, add-ons) with labour hours, where the room is square-cornered. Returns figures {floorArea, perimeter, ceilingHeight, netWallArea, openings, openingArea} as text with units, walls [{wall, length, lengthMm, measured}], openings [{opening, kind, wall, offset, width, height, sill}], finish, rows [{label, quantity, unit, calculator, tier, group, hours}], labour, waiting, link, planner. | — |
export_sketch_drawingReads | Export the sketched room as DXF The room on the sketch page as the page's own DXF for CAD (R12, millimetres, walls, doors, windows and lengths on their own layers), returned as text with the room's share link. Nothing is downloaded. Returns filename, mediaType application/dxf, units mm, bytes, content (the DXF text), link (opens the room on the page). | — |
download_sketch_fileChanges the view | Download the sketched room as a file Does what the sketch page's Save the plan buttons do: a PNG or SVG picture or a DXF saved by the browser, or the plan sheet in the print dialog (Save as PDF). Changes nothing on the page. Returns format: the file made (png, svg, pdf, dxf). |
{"format":"dxf"} |
save_sketch_to_projectChanges what is kept | Send the sketched room to My Project Presses the sketch page's own Add to My Project under its materials: the room joins the plan the open project holds and every room's lines are saved, as the room planner saves them, in one step the project's Undo takes back. Returns the lines written. Quantities only. Returns added [{id, label, quantity, unit, area, calculator}] (the lines written), project {id, name}, lines (the project's line count). | — |
House Estimator 12
For example /house-estimator/
| Tool | What it does | Parameters |
|---|---|---|
set_house_parametersChanges what is kept | Change the house on the House Estimator Changes the house the page estimates — only what is given; the rest stays as the person set it — or starts from one of the worked example houses: figures (lengths with units), storeys, outside walls and roof build-ups, pitch, foundation, basement walls, roof form. One undoable step saved to the person's project; the new estimate comes back. Returns The estimate as read_house_estimate returns it, for the new house: rows [{section, label, where, quantity, unit}], counts, house {storeys, family, pitch, roofFamily}, choices. |
{"values":{"length":"12 m","width":"9 m"},"storeys":2} |
read_house_parametersReads | Read the House Estimator's form Every group of the House Estimator's form as the page holds it: the footprint, storeys and opening figures (lengths in metres, counts), what the house stands on, the outside walls' and roof's build-ups, pitch and roof form, and whether its plan is drawn. Returns system, values [{id, label, value, unit (m or count)}], storeys, foundation, basementWall, family, selection, pitch, roofFamily, roofSelection, roofForm, drawnPlan, choices {walls, roof}. | — |
read_house_estimateReads | Read the House Estimator's estimate Every material to order for the house on the page — footing, slab, walls, openings and roof, each from the site's whole-job takeoffs — with the figures used, the counted doors and windows, where it was worked out, and the build-up choices the walls and roof offer. Returns source (page or engine), rows [{section, label, where, quantity, unit, order?, calculator?}], counts [{label, quantity}], house {storeys, family, pitch, roofFamily}, choices {walls, roof}. | — |
undo_house_changeChanges what is kept | Undo the last change to the house Takes back the last change to the house on the House Estimator — a figure, a choice, a plan edit — as the page's Undo does, and returns the estimate it leaves. Returns The estimate after the step, as read_house_estimate returns it. | — |
redo_house_changeChanges what is kept | Redo a change to the house Puts back the change the House Estimator's Undo last took back, as its Redo does, and returns the estimate it leaves. Returns The estimate after the step, as read_house_estimate returns it. | — |
list_house_variantsReads | List the kept variants of the house The variants of the house the person kept on the House Estimator (in this browser): each one's id, name, storeys, the unit system it was made in and when it was last kept. Returns variants [{id, name, storeys, system, updatedAt}]. | — |
keep_house_variantChanges what is kept | Keep the house as a named variant Keeps the house on the House Estimator as it stands under a name, as the Variants panel's Keep does (a variant of that name is replaced), in this browser, to open again or compare later. Returns variant {id, name, system}, stored (false where the browser refused to keep it). |
{"name":"Two storeys, brick"} |
open_house_variantChanges what is kept | Open a kept variant on the House Estimator Puts a kept variant into the House Estimator's form, as the Variants panel's Open does: one undoable step through the page's own change; returns the estimate for it. Returns The estimate for the opened variant, as read_house_estimate returns it. |
|
remove_house_variantChanges what is kept | Remove a kept variant of the house Deletes one kept variant from this browser, as the Variants panel's remove does. It cannot be undone; the house on the page is not touched. Returns removed {id, name}. |
|
compare_housesReads | Compare two houses' bills Two houses — kept variants, or the house as it stands — compared row by row as the Variants panel's Compare does: each material's quantity in A and B, the change, and the rows only one has. Worked by the site's whole-house takeoffs. Returns a, b (names), system, rows [{label, where, unit, a, b, change}], changed, onlyA, onlyB, same. |
{"a":"now","b":"now"} |
export_house_drawingReads | Export the House Estimator's drawing The house on the page as the drawing Open in Canvas carries, written by the canvas's own exporters: each storey's plan as DXF or SVG, the whole house as IFC. The files come back as text; nothing is downloaded. Returns files [{filename, mediaType, bytes, content (the file's text, or null when too large)}], levels, and the drawing's link where it fits. |
{"formats":["svg"]} |
add_house_to_projectChanges what is kept | Add the house to My Project Adds the house's materials to the open project in My Project, as the House Estimator's own Add to My Project (Update My Project once added) does: the house's lines written or updated in place, one step the project's Undo takes back. Quantities only. Returns added [{id, label, quantity, unit, area, calculator}] (new lines), project {id, name}, lines (the project's line count). | — |
Construction Canvas 17
For example /construction-canvas/
| Tool | What it does | Parameters |
|---|---|---|
add_canvas_wallChanges what is kept | Draw a wall on the Construction Canvas Draws one straight wall on the person's drawing, between two points, as the wall tool does: joined to a wall whose end it meets, built as the drawing's exterior or interior wall type. Draw a closed ring of walls before adding a room inside it. Returns added [{id, kind wall, level, layer, from {x, y}, to {x, y}, length, role}] with lengths as text in the person's units. |
{"from":{"x":"0 m","y":"0 m"},"to":{"x":"4 m","y":"0 m"},"role":"interior"} |
add_canvas_roomChanges what is kept | Mark a room on the Construction Canvas Marks the room enclosed by walls around a point, as the room tool does, so the takeoff counts its floor, ceiling and wall finishes. The point must be inside walls that close round it. Returns added [{id, kind room, name, level, layer}]. |
{"at":{"x":"2 m","y":"2 m"},"name":"Kitchen"} |
add_canvas_openingChanges what is kept | Put a door or window in a wall on the Construction Canvas Puts a door or a window in one wall of the person's drawing, as the opening tools do; the takeoff deducts it from the wall. Find the wall's id with list_canvas_objects. Returns added [{id, kind door or window, level, layer, wall (its host's id)}]. |
{"kind":"door","wall":"w1","offset":"1 m"} |
add_canvas_symbolChanges what is kept | Place a symbol on the Construction Canvas Places one point object on the person's drawing — a structural post or footing, or an electrical, plumbing or heating symbol — as the canvas's symbol tools do; the dock counts it. Its size is the person's to give; nothing is sized. Returns added [{id, kind, level, layer, at {x, y}}] with lengths as text in the person's units. |
{"kind":"column","at":{"x":"2 m","y":"2 m"}} |
remove_canvas_objectsChanges what is kept | Erase objects from the Construction Canvas Erases objects from the person's drawing by their ids, as selecting them and pressing Delete does (a wall takes its doors and windows with it): one step of the canvas's history that undo_canvas_edit or Ctrl+Z takes back. Returns removed: the ids erased (a wall's openings with it). |
{"ids":["w1"]} |
move_canvas_objectsChanges what is kept | Move or copy objects on the Construction Canvas Moves objects of the person's drawing by a distance east and north, or places copies there, as the Move and Copy tools commit them: joined walls follow, one step of the canvas's history. Lengths carry their units; a negative one goes west or south. Returns changed [{id, kind, level, layer, from, to, length, at}]: the objects moved or the copies made, lengths as text. |
{"ids":["w1"],"by":{"x":"1 m","y":"0 m"}} |
rotate_canvas_objectsChanges what is kept | Rotate objects on the Construction Canvas Turns objects of the person's drawing about a point by an angle in degrees (anticlockwise as the plan is read), as the Rotate tool commits it: one step of the canvas's history. Returns changed [{id, kind, level, layer, from, to, at}]: the objects as turned, lengths as text. |
{"ids":["w1"],"degrees":90,"about":{"x":"0 m","y":"0 m"}} |
undo_canvas_editChanges what is kept | Undo the last edit on the Construction Canvas Takes back the last edit to the person's drawing — the assistant's or their own — as Ctrl+Z does, and says which step it was. Returns step (its label), canUndo, canRedo, undoLabel, redoLabel, objects (how many on the drawing now). | — |
redo_canvas_editChanges what is kept | Redo an edit on the Construction Canvas Puts back the edit the Construction Canvas's Undo last took back, as Ctrl+Shift+Z does, and says which step it was. Returns step (its label), canUndo, canRedo, undoLabel, redoLabel, objects (how many on the drawing now). | — |
switch_canvas_levelChanges the view | Show another level on the Construction Canvas Shows another level (storey) of the person's drawing on screen, as the level switcher does; the drawing itself is not changed, and the add tools draw on the level on screen unless told another. Returns level {id, name} now on screen. |
|
list_canvas_objectsReads | List the objects on the Construction Canvas drawing The objects on the person's drawing now — walls with their ends and lengths, rooms, doors and windows with their walls, symbols — each with its level and layer, with the ids the edit tools name; the drawing's levels and its layers with their object counts. Returns levels [{id, name, elevation, height}], layers [{id, name, kind, visible, locked, print, objects}], objects [{id, kind, level, layer, name?, from?, to?, length?, at?, wall?, role?}] (lengths as text in the person's units), onScreen. | — |
read_canvas_takeoffReads | Read the Construction Canvas takeoff The takeoff of the person's drawing as the canvas's dock lists it — every material by section with its quantity, where it is and the calculator behind it — and the counted objects, in the person's unit system. Returns system, rows [{section, label, where, quantity, unit, calculator, note?}], counts [{label, quantity}], warnings, lines (how many My Project lines a send would write). | — |
export_canvas_drawingReads | Export the Construction Canvas drawing The person's drawing written by the canvas's own exporters: each level's plan as DXF or SVG, the whole drawing as IFC. The files come back as text; nothing is downloaded or sent anywhere. Returns files [{filename, mediaType, bytes, content (the file's text, or null when too large)}], levels, and the drawing's link where it fits. |
{"formats":["svg"]} |
save_canvas_versionChanges what is kept | Save a named version of the Construction Canvas drawing Keeps the drawing as it stands now as a named version, as the Versions panel's Save does, in this browser beside the drawing, to compare with or go back to later. Returns version {id, name, kind named, createdAt}. |
{"name":"Before the extension"} |
list_canvas_versionsReads | List the Construction Canvas drawing's versions The drawing's kept versions, newest first, as the Versions panel lists them: named versions the person saved and the checkpoints the canvas makes on its own, each with its id, name, kind, date and object count. Returns versions [{id, name, kind (named or checkpoint), createdAt, objects}]. | — |
restore_canvas_versionChanges what is kept | Restore a version of the Construction Canvas drawing Puts a kept version back on the canvas, as the Versions panel's Restore does: a checkpoint of the drawing as it stands is saved first, and the restore is one step Ctrl+Z (undo_canvas_edit) takes back. Returns restored {id, name}, changed (false when the drawing already was that version), objects. |
|
add_canvas_to_projectChanges what is kept | Send the Construction Canvas drawing to My Project Sends the drawing's takeoff to the open project in My Project, as the canvas's own Send (Update once linked) does: the drawing's lines written or replaced in place, one step the project's Undo takes back. Quantities only. Returns receipt {added, replaced}, added [{id, label, quantity, unit, area, calculator}] (new lines), project {id, name}, lines (the project's line count). | — |
Roof framing 2
For example /tools/roof-framing/
| Tool | What it does | Parameters |
|---|---|---|
set_roof_framingChanges what is kept | Change the roof on the roof framing tool Changes the roof the page lays out — only the figures given; the rest stay as the person set them — and returns every rafter and the cut list once the page shows it. Returns roof {kind, pitch {risePer12, degrees}, run, rise}, members [{key, name, count, lineLength, overall, board, cuts}], cutList [{size, buy [{stock, count}], wastePercent}], each length as text (and tape) in the person's units; notDesign. |
{"kind":"gable","pitchDegrees":35} |
read_roof_framingReads | Read the roof framing on the page Every rafter of the roof on the page — common, hip, valley and jack lengths along the line, cuts with their saw settings, birdsmouth and height above the plate, hip backing — and the cut list on the person's stock lengths. Returns roof {kind, pitch, run, rise}, members [{name, count, lineLength, overall, board, cuts, birdsmouth}], cutList [{size, buy, wastePercent}], lengths as text with units; notDesign. | — |
My Project
My Project 40
For example /project/
| Tool | What it does | Parameters |
|---|---|---|
list_project_linesReads | List the lines of My Project The lines of the project open in My Project — each with its id, what it is, its quantity and unit, its zone and the calculator it came from. Money is the person's own and is not read here (read_project_estimate has the totals). Returns project {id, name} and lines [{id, label, quantity, unit, source, calculator?, area, pricedByYou}] — quantity in the line's own unit. | — |
add_project_lineChanges what is kept | Add a line of your own to My Project Adds one free line to the open project — a name, a quantity and its unit, optionally in a zone and with a note — as the estimate sheet's Add a line does. It carries no price (the person prices it, or price_project_lines with their figure). The project's Undo takes it back. Returns added [{id, label, quantity, unit, source, area, pricedByYou}] and project {id, name}. |
{"label":"Skip hire","quantity":1,"unit":"each"} |
add_calculator_resultChanges what is kept | Add a calculator's result to My Project Runs one of the site's calculators on the inputs given and adds its answer to the open project as one line, the line its page's Add to Project adds, with the inputs kept so the person can reopen it. The project's Undo takes it back. Returns added [{id, label, quantity, unit, calculator, area}] — the calculator's answer in its own unit — and project {id, name}. |
{"calculator":"concrete-calculator","inputs":{"slabLength":"4 m","slabWidth":"3 m","slabThickness":"100 mm"},"label":"Shed base"} |
edit_project_lineChanges what is kept | Edit a line of My Project Changes one line of the open project as its cells on the estimate sheet do: its name, quantity, unit, zone or note. The line is found by id or by its exact name. One step the project's Undo takes back. Prices go through price_project_lines. Returns line {id, label, quantity, unit, area, …} as it is now, changed (true when anything moved), canUndo, canRedo. |
{"line":"Skip hire","quantity":2} |
move_project_lines_to_areaChanges what is kept | Move lines of My Project to a zone Puts the named lines of the open project in one zone (a room, a floor), as the sheet's bulk Move to zone does; a zone name the project lacks is made, as New zone… makes it. One step the project's Undo takes back. Returns area {id, name, made (true when the zone was new)} and moved [{id, label, quantity, unit, area}]. |
{"lines":["Skip hire"],"area":"Kitchen"} |
remove_project_linesChanges what is kept | Remove lines from My Project Takes the named lines out of the open project, as the sheet's bulk Remove does; a choice of alternate naming one goes with it. One step: the project's Undo (undo_project_change) brings them back as they were. Returns removed [{id, label, quantity, unit}], count, linesLeft, canUndo (true: the Undo brings them back). |
{"lines":["Skip hire"]} |
list_project_areasReads | List the zones of My Project The zones (rooms, floors, buildings) of the open project with how many lines each holds, and how many lines are in no zone. Returns project {id, name}, areas [{id, name, lines (count)}], linesInNoArea (count). | — |
add_project_areaChanges what is kept | Add a zone to My Project Adds a zone (a room, a floor, a building) to the open project, as the sheet's Add zone does. Lines go in it with move_project_lines_to_area or edit_project_line. The project's Undo takes it back. Returns area {id, name} and every zone now [{id, name, lines}]. |
{"name":"Kitchen"} |
rename_project_areaChanges what is kept | Rename a zone of My Project Gives one zone of the open project a new name, as typing over its heading does; its lines stay in it. One step the project's Undo takes back. Returns area {id, name (new), was (old name)}, canUndo, canRedo. |
{"area":"Kitchen","name":"Kitchen and utility"} |
remove_project_areaChanges what is kept | Remove a zone from My Project Takes one zone out of the open project, as the page's own remove does: its lines stay in the project, in no zone. One step the project's Undo takes back. Returns removed {id, name}, linesKept (count, now in no zone), areas left [{id, name, lines}]. |
{"area":"Kitchen"} |
read_project_notesReads | Read My Project's notes The open project's own notes (access, what the client asked, what was agreed — kept with this project, never on the proposal) and the pages of the desk's notebook, which is one per device and shared by every project. Returns project {id, name}, notes (text), notesLimit (characters), deskNotebook [{id, title, body, pinned, loggedAt}]. | — |
write_project_notesChanges what is kept | Write My Project's notes Writes the open project's own notes, as its Project notes box does: adds a paragraph after what is there, or replaces it all. Kept with the project, never printed on the client's proposal. One step the project's Undo takes back. Returns notes (the text now), characters, notesLimit, canUndo. |
{"text":"Access through the side gate; client wants the skip off the drive by Friday."} |
add_desk_noteChanges what is kept | Add a page to the desk's notebook Adds a page to the desk's notebook on My Project (Notes on the desk): one notebook per device, for ideas before they are a line in any project. Not part of the project's Undo: the person deletes a page on the notebook itself. Returns page {id, title, body, pinned, loggedAt} and pages (how many the notebook holds now). |
{"text":"Ask the merchant about a trade account"} |
read_price_bookReads | Read the person's price books The person's own price books kept in this browser (My Company), which one the open project prices against, and that book's items: name, unit, price, currency label, supplier, date. Also how many project lines the book would reprice. The site supplies no prices. Returns books [{id, name, items, chosen}], book {id, name, items [{id, name, unit, price, currency, supplier, sku, pricedOn, materialsBound}]} (price per the item's unit, in its currency label), projectBook, linesItWouldReprice, currency. |
{} |
choose_project_price_bookChanges what is kept | Choose the price book My Project prices against Sets which of the person's own price books the open project prices against, as the Price book panel's picker does (an empty text chooses none). Prices on the lines move only when the book is applied. The project's Undo takes it back. Returns projectBook {id, name} or null, canUndo. |
|
apply_price_book_to_projectChanges what is kept | Apply the price book to My Project's lines Puts the open project's chosen price book's prices on every line the book prices, as the Price book panel's Apply to the estimate does: one step the project's Undo takes back. Lines the book prices in another currency label are left alone and listed; nothing is converted. Returns book {id, name}, changed (lines repriced), otherCurrency [{id, label, currency}] left alone, currency (the project's label). | — |
price_project_linesChanges what is kept | Put the person's price on lines of My Project Sets the unit price on the named lines of the open project — a price the PERSON stated, or one item of their own price book — as typing it in the sheet's price cell does. Never use a figure the person did not give: the site supplies no prices. One step the project's Undo takes back. Returns price {perUnit, currency, from}, changed (count), lines [{id, label, quantity, unit, unitPrice {low, high, currency}}] — prices per the line's unit. |
{"lines":["Skip hire"],"price":250} |
read_project_totalsReads | Read My Project's totals The open project's quantities summed by unit, with how many lines and zones it holds: a count of what the project holds, not an order and not a price (read_project_estimate has the money). Returns project {id, name}, totals {lines, byUnit [{unit, quantity, lines}], note}, areas (names), linesPricedByThePerson, url. | — |
read_project_estimateReads | Read My Project's estimate (the person's money) The open project's money summary as the page's Estimate summary works it, from the person's OWN prices and rates only: material, labour, equipment, contingency, overhead, profit, discount, tax and the client price, each as a low–high band in the project's currency label, with how many lines carry no price. Returns currency (the project's label), every part as {low, high} in it (material, labour, contingency, overhead, profit, discount, tax, clientPrice…), labourHours (hours), equipment, unpricedLines, materialOnly — all from the person's own prices and rates. | — |
undo_project_changeChanges what is kept | Undo the last change to My Project Takes back the last change to My Project, as the page's Undo (Ctrl+Z) does — a line added or removed, an edit, a zone, a project switched or made. Returns what the project holds now and whether more can be undone or redone. Returns project {id, name, lines (count now)}, linesBefore, canUndo, canRedo. | — |
redo_project_changeChanges what is kept | Redo a change to My Project Puts back the last change undone on My Project, as the page's Redo (Ctrl+Y) does. Returns what the project holds now and whether more can be undone or redone. Returns project {id, name, lines}, linesBefore, canUndo, canRedo. | — |
list_project_versionsReads | List My Project's saved versions The versions of the open project saved on this device (Versions: "Option A", "Sent to client"), newest first, each with its id, name, date, note, how many lines it held and whether it is the baseline. Returns project {id, name}, versions [{id, label, createdAt (ISO), note, baseline, lines (count)}]. | — |
save_project_versionChanges what is kept | Save a version of My Project Keeps the open project as it is now as a named version on this device, as the Versions panel's Save version does, to compare or restore later. The person deletes versions on the page. Returns saved {id, label, createdAt, lines} and versions (how many the project has now). |
{"label":"Option A: timber roof"} |
restore_project_versionChanges what is kept | Restore a saved version of My Project Puts a saved version back as the open project, as the Versions panel's Restore does. A version of another project in the list is refused (switch to it first). The restore is one step the project's Undo takes back. Returns restored {id, label, createdAt, lines}, project {id, name, lines (count now)}, canUndo. |
|
list_projectsReads | List the projects in My Project Every project kept in this browser, as the project switcher and My projects list them: id, name, how many lines and zones, which one is open, which are archived, when each last changed. Returns projects [{id, name, lines, areas (counts), active, archived, updatedAt (ISO)}] and url of the portfolio. | — |
switch_projectChanges what is kept | Open another project in My Project Opens another of the projects kept in this browser in My Project, as the project switcher does; every other tool then works on it. The project's Undo goes back to the one open before. Returns project {id, name, lines} now open, canUndo. |
|
create_projectChanges what is kept | Start a new project in My Project Starts a new, empty project in this browser and opens it, as the switcher's New project does; the one open before stays in the list. The project's Undo takes it back. Returns project {id, name} (now open), projects (how many now), canUndo. |
{"name":"Smith kitchen"} |
rename_projectChanges what is kept | Rename a project in My Project Gives a project kept in this browser a new name, as the project's name field does; the open project when none is named. One step the project's Undo takes back. Returns project {id, name (new), was}, canUndo. |
{"name":"Smith kitchen, phase 1"} |
export_project_billReads | Export My Project's bill as text The open project's bill of quantities as the PDF and Excel exports list it — the estimate's rows (zone, item, quantity, unit, the person's own unit price and subtotal), then alternates not chosen and reference figures apart — as a Markdown table and as CSV text the agent can hand on. Returns estimate, alternates, reference [{id, zone, item, quantity, unit, unitPrice, subtotalLow, subtotalHigh, currency, supplier, note}] — quantities in each row's unit, money in the person's currency label — and csv (the same rows as CSV text). | — |
download_project_fileChanges the view | Download My Project as PDF, Excel, dossier or project file Starts the page's own download of the open project: the PDF bill, the Excel workbook (live formulas), the job dossier (the Documents tab's Download dossier, with the person's letterhead and their choice of sections), or the whole project as one .cqproject file (lines, rates, settings, proposal, programme, actual costs) that My Project opens again as a new project on any device. The file goes to the person's downloads; nothing in the project changes. Returns kind, project {id, name}, started (true once the page's download began). |
{"kind":"pdf"} |
open_project_tabChanges the view | Open a tab of My Project Opens one of My Project's work tabs for the person to see — Overview, Estimate, Check, Materials, Labour, Schedule, Diary, Punch list, Money, Analyses, Documents, Sources — as pressing it does. Returns tab (id), label, url. |
{"tab":"materials"} |
make_share_linkReads | Make a share link for My Project Makes the Documents tab's share link for the open project: the whole project (lines, zones, takeoff setups, notes, units) inside one address for WhatsApp or e-mail, opening read-only or as an editable copy. No account and nothing uploaded: the project rides in the link. Prices travel only when include_prices is true; the client's name and the site address never do. Returns link (the address to send), mode (view | edit), priced, length and max (characters), lines, project {id, name}. |
{"mode":"view","include_prices":false} |
open_share_linkChanges what is kept | Open a project link somebody sent Reads a Craft Quantities project link (/project/shared/#s=…) somebody sent: its name, lines, zones and whether it carries prices, checked as the shared page checks it (a link cut short is refused, never misread). With open_copy true it opens the project as a NEW project in this browser, as the shared page's Open a copy does: one step the project's Undo takes back, and no project the person has is changed. Returns opened (true when a new project was added), project {name, mode, system, market, sharedAt, priced, areas, lines [{name, quantity, unit, calculator}]}, newProject {id, name} and canUndo when opened. |
{"link":"https://craftquantities.com/project/shared/#s=v1z…","open_copy":false} |
write_scope_of_workReads | Write a scope of work from My Project Writes the open project's scope of work as the Documents tab does: Part 1 General, Part 2 Products with the documents each line's calculator cites in the market, Part 3 Execution in the takeoffs' order. Returns it as Markdown. A template for the parties, not legal advice or a design; nothing on the page changes. Returns The scope of work as Markdown text; structured: project {id, name}, style (csi | nbs) and document (its parts, sections and the documents each line cites). |
{"style":"csi"} |
read_site_diaryReads | Read My Project's site diary The open project's site diary (the Diary tab), newest day first: each day's weather, crew with person-hours, work done, deliveries, issues and how many photos — the reader's own words. Returns days (count), entries [{id, date (yyyy-mm-dd), weather, crew [{name, trade, workers, hours (each, per day)}], personHours, work, lines (names), deliveries, issues, photos (count)}]. |
{"limit":7} |
add_site_diary_entryChanges what is kept | Write a day in My Project's site diary Writes a day in the open project's site diary (the Diary tab) — weather, crew, work done, deliveries, issues, the lines worked on. A day already in the diary gets the words added after its own, as opening that day and typing does. One step the project's Undo takes back. Returns entry {id, date, weather, work, deliveries, issues, crew [{name, trade, workers, hours}], personHours, lines (count)}, addedToExisting. |
{"work":"Footings dug and blinded","weather":"Dry, 9 °C","crew":[{"name":"Groundworks","workers":3,"hours":8}]} |
read_punch_listReads | Read My Project's punch list The open project's punch list (the Punch list tab): each item's number, title, place, trade, status, due day and the days it was finished and checked, with counts of items outstanding and overdue. Returns open, overdue, total (counts), items [{id, n, title, location, trade, status, due (yyyy-mm-dd), doneAt, verifiedAt (ISO), photos (count)}]. |
{"status":"all"} |
add_punch_itemChanges what is kept | Add an item to My Project's punch list Adds an open item to the open project's punch list, as the Punch list tab's quick add does: a title, and where, which trade and by when. It gets the next number. One step the project's Undo takes back. Returns item {id, n (its number), title, location, trade, status (open), due}. |
{"title":"Touch up paint behind door","location":"Bathroom 1","trade":"Decorator"} |
set_punch_item_statusChanges what is kept | Close or reopen a punch item Closes a punch-list item of the open project (finished, or checked and signed off) or reopens it, as its status button does; closing records when. One step the project's Undo takes back. Returns item {id, n, title, status (now), was, doneAt, verifiedAt (ISO)}. |
{"item":"1","status":"done"} |
describe_jobReads | Describe the job to the estimating copilot Reads a job written in plain words, as the copilot's Describe the job box does, and opens its review on the page for the person to check and add. Returns what it read: the takeoffs and calculators it chose, each measurement said or assumed, anything it could not read, and the quantities. Nothing is added to the project by this tool. Returns text, jobs [{kind, phrase, measurements [{id, value (base units), origin, phrase}], missing, parts [{name, kind, ref, because, rows [{label, quantity, unit}]}]}], unread, noted, reviewOpen (true when the page's review opened). |
{"text":"build a 12x16 deck 3 ft high with railing and stairs"} |
Quotes
The quote checks 1
For example /check/
| Tool | What it does | Parameters |
|---|---|---|
list_quote_checksReads | List every quote check Every quote check page on the /check/ hub: the job it reads a builder's or supplier's quote against, its trade group, the takeoff its quantities come from, how many measurements it asks for, the lines it compares and its address. Optionally narrowed by words or by trade group. Quantities only; no page publishes prices. Returns checks: each quote check with its slug, job, trade group and label, kind (written or takeoff), the takeoff it comes from (id, name, url), how many measurements it asks for, its line names and its page url; total: how many checks the hub lists. |
{"search":"tile"} |
Every quote check 3
For example /check/bathroom-quote/
| Tool | What it does | Parameters |
|---|---|---|
describe_quote_checkReads | Describe this quote check What this bathroom quote check compares: the job's measurement boxes with their units and current figures, the lines a quote for the job should contain with the range the page computes for each, the takeoff and calculators the quantities come from, and how many quote lines the page holds now. Quantities only, never prices. Returns job, slug, kind, url, takeoff {id, name, url}; measurements: each box's label, unit and current value; lines: each line the job needs with the range computed for it (with its unit) and, once a quote is read, its state; quoteLinesOnPage: how many quote lines the page holds. | —{} |
check_quoteChanges what is kept | Check a quote against the job Reads a pasted bathroom quote against the job on this check page, through the page's own reader: optional measurements typed into its boxes first, the quote pasted into its box and read with its own button, so the person sees the same reading. Returns the findings by group (quantities outside the computed range, lines missing from the quote, extras, work listed but not measured, lines not comparable as written, scopes not mentioned, lines within range), each with the quoted and computed quantity and the calculator it comes from, plus the questions to ask. The page keeps the read quote in this browser. Returns rows: the quote's lines as the page holds them (text, quantity, unit, what each was read as); coverage: the page's sentence on how much of the job the quote names; groups: each part of the reading (part id, title, items with name, label, onQuote and computed quantities with their units, notes and the source calculator's url); questions: each question to ask and what it is about; keptInThisBrowser: whether the page has kept the quote. |
{"text":"Floor tiles 60 sq ft\nTile adhesive 3 bags\nGrout 1 bag\nLabour 3 days"} |
read_quote_findingsReads | Read the quote check's findings The reading this bathroom quote check shows now: the quote lines the page holds, its coverage sentence, every group of findings with the quoted and computed quantities and their source calculators, and the questions to ask. Quantities only, never prices. Returns rows (the quote's lines on the page), coverage, groups (each part of the reading with items: name, label, onQuote and computed quantities with units, notes, source url), questions, and read/pending flags. | —{} |
Quote to Estimate 3
For example /quote-to-estimate/
| Tool | What it does | Parameters |
|---|---|---|
import_quote_textChanges what is kept | Import a quote into Quote to Estimate Reads a supplier's or builder's quote pasted as text with Quote to Estimate's own reader and puts it on the page's estimate sheet through its own paste box, as Read the quote does. Returns every line read (section, words, quantity, unit, material/labour/service, the quote's own rate and total, the site calculators that re-work its quantity, why a line is unsure), the lines left unread, and the quote's own stated totals and arithmetic notes. The page keeps the sheet in this browser; its Undo takes the paste back. Returns lines: each line read with section, text, quantity and unit, kind, the quote's own quoteUnitPrice and quoteLineTotal (in the quote's currency), matching site calculators (slug, title, url) and unsure reasons; unread: lines not read as items; currency; quoteStatedTotals and arithmeticNotes (the quote's own figures); onSheet: whether the page's sheet took it. |
{"text":"Cement backer board 3x5 - 12 sheets @ $14.50\nThinset mortar 50 lb - 8 bags $22.00 each\nTile installation 3 days $1,650.00"} |
read_imported_estimateReads | Read the Quote to Estimate sheet The estimate Quote to Estimate's sheet holds now, as the page keeps it in this browser: its title, supplier and number, each line with quantity, unit, kind, the quote's own rate and total and the calculators matched to it, and the totals worked from the quote's own prices. Prices are the person's figures from their quote; the site supplies none. Returns title, supplier, number, quoteRef, example flag, currency, taxRatePercent; lines (as import_quote_text returns them); totalsFromTheQuote (subtotal, tax, total, unpriced count, in the quote's currency); arithmeticNotes; url. | —{} |
add_quote_estimate_to_projectChanges what is kept | Add the estimate to My Project Adds every line of the estimate on Quote to Estimate's sheet to the open project in My Project with the page's own Add to My Project button: each line's words, quantity and unit, the quote's rate as the person's own price, the supplier and a note. Optionally logs each rate in the person's price journal, as the page's checkbox does. The page's Undo notice or My Project's Undo takes the lines back; logged prices stay in the journal. Returns added: the project lines made (id, label, quantity, unit, source, area, whether a price the person gave rides on it); project {id, name}; pricesLogged; url of My Project. |
{"logPrices":false} |
Company, prices and field tools
My Company 7
For example /company/
| Tool | What it does | Parameters |
|---|---|---|
read_company_profileReads | Read My Company's profile My Company's letterhead and brand kit as this browser keeps them (company name, address, contact, prepared by, logo set or not, accent colour, heading face, layout, payment terms, terms), with the count of clients, suppliers, crew, price books and templates and the next document number of each type. Returns brand (letterhead fields, logo set or not with its size in px, brand kit), status of the browser copy, counts of each register, books and templates, and every document type's numbering with its next number. | —{} |
update_company_profileChanges what is kept | Update My Company's letterhead and brand kit Changes My Company's letterhead (company name, address, contact, prepared by) and brand kit (accent colour, heading face, letterhead layout, payment terms, terms and conditions) through the page's own store; only the fields given change. Printed on every proposal. An accent that reads under 4.5:1 on white paper is refused with a darker shade that passes. Change back by calling again with the old values. Returns changed (the fields set), brand (the letterhead and kit as now kept) and status of the browser copy. |
{"companyName":"Nord Renovations","accent":"#0f766e","layout":"classic"} |
list_company_registerReads | List My Company's clients, suppliers or crew The entries of one My Company register (clients, suppliers or crew) as this browser keeps them, optionally narrowed by words in the name, company, trades or tags: ids, names, contact details and notes. Crew day rates are the person's own figures. Returns register and entries (each with its id, name, contact details, tags, notes; crew with role, trades, skills and the person's own day rate in rateCurrency). |
{"register":"clients"} |
add_company_register_entryChanges what is kept | Add a client, supplier or crew member to My Company Adds one client, supplier or crew member to My Company's registers through the register's own store, as the page's Add form does; a name already there is not added twice and the existing entry's id comes back. The entry can be removed on the page (with Undo). Returns register, id of the entry, existing (true when the name was already there and nothing was added) and the entry as kept. |
{"register":"suppliers","name":"Northside Timber","category":"Timber merchant","trades":["Carpentry"]} |
set_document_numberingChanges what is kept | Set a document type's numbering on My Company Changes how one document type (proposal, estimate, RFQ, variation, invoice) is numbered on My Company's Documents tab: its prefix, the next number, the digits it is padded to, or whether it is printed by itself. A next number below one already issued is raised past it, and the answer says so. Returns kind, scheme (prefix, next, digits, auto and the formatted nextNumber) and clamped (true when the next number was raised past an issued one). |
{"kind":"proposal","prefix":"Q-","digits":4} |
list_price_booksReads | List the person's price books The person's own price books as this browser keeps them: each book's id, name, stale-after days, and its items (name, unit the price is per, price with its currency label, supplier, the day it was priced). The site supplies no prices: every figure here was typed by the person. Returns books, each with id, name, staleAfterDays and items (id, name, unit the price is per, price in the person's currency label, supplier, pricedOn yyyy-mm-dd). |
{} |
add_price_book_itemChanges what is kept | Add an item to a price book Adds one item at the person's own price to one of their price books (by id or name; a book of that name is created when none exists), read by the price book editor's own add row: name, unit the price is per, price above zero, supplier. Dated today and logged in the price journal when the person's autolog is on, as the editor logs it. Removable in the book editor. Returns bookId, bookName, createdBook, item (id, name, unit, price in the person's currency label, pricedOn) and journal (whether the price was logged in the price journal). |
{"name":"Plasterboard 12.5 mm","unit":"sheet","price":9.5,"supplier":"Northside Timber"} |
Price journal 7
For example /tools/price-index/
| Tool | What it does | Parameters |
|---|---|---|
list_price_journalReads | List the person's price journal The entries of the person's own price journal (prices they were quoted, invoiced or saw), newest first: item, price per unit with its currency label, the day seen, supplier, quote or invoice, tax, quantity bracket, tags. Narrowed by words in the item or the supplier. No price here comes from the site. Returns total and matched counts and entries (id, item, itemKey, price per unit in the person's currency label, unit, observedOn yyyy-mm-dd, supplier, evidence, tax, bracket, quoteRef, delivery, tags, note). |
{"limit":20} |
add_price_entryChanges what is kept | Log a price in the person's price journal Logs one price the person was quoted, invoiced or saw, read by the journal's own Log a price form: the item, the price per unit, the currency label, the supplier, the day seen, whether it was a quote, invoice or shelf price, the tax, a quantity bracket, tags. A price more than ten times (or under a tenth of) the person's own average for the item is refused as a likely unit slip. Deletable on the page with Undo. Returns entry: the logged entry as list_price_journal returns one (id, item, itemKey, price per unit in its currency label, unit, observedOn, supplier and the rest). |
{"item":"Plasterboard 12.5 mm","price":9.5,"unit":"sheet","supplier":"Northside Timber","evidence":"quote"} |
read_price_insightsReads | Read the price journal's insights What the price journal's Insights tab works out from the person's own entries, per item: lowest, median, highest, their own average, the latest price and how far it sits from that average (percent), the change since the first entry (percent), each supplier's lowest and latest, and whether the latest is older than the months asked. Entries in another unit kind or currency are counted, not mixed in. Returns staleMonths and items, each with key, item, unit, currency label, count, lowest, median, highest and average price per unit, latest (price, on, supplier), driftPercent and changePercent (%), suppliers (lowest, latest per supplier), otherUnit and otherCurrency counts, stale. |
{} |
export_price_journal_csvReads | Export the price journal as CSV The person's whole price journal as the Import and export tab's CSV (one row per entry with the item, price, unit, currency, day, supplier, tax, bracket, evidence, tags, note and ids), returned as text for the agent to keep or pass on. Nothing is downloaded or changed. Returns entries (the count) and csv: the export as text, header row first, prices per unit in each entry's currency label. | —{} |
import_price_journal_csvChanges what is kept | Import prices into the journal from CSV Reads a price list given as CSV text the way the journal's Import tab reads a file: the columns are matched from the header row (item, price, unit, currency, date, supplier, tax, quantity, source, tags, note), every row is checked, entries the journal already holds are not added twice, and rows carrying this site's ids update those entries. Applied with the tab's own Undo (a notice on the page puts the journal back). Returns applied, counts (add, update, same, error), errors (row number and reason) and the column mapping read from the header. |
{"csv":"item,price,unit,supplier\nPlasterboard 12.5 mm,9.5,sheet,Northside Timber","apply":false} |
list_price_booksReads | List the person's price books The person's own price books as this browser keeps them: each book's id, name, stale-after days, and its items (name, unit the price is per, price with its currency label, supplier, the day it was priced). The site supplies no prices: every figure here was typed by the person. Returns books, each with id, name, staleAfterDays and items (id, name, unit the price is per, price in the person's currency label, supplier, pricedOn yyyy-mm-dd). |
{} |
add_price_book_itemChanges what is kept | Add an item to a price book Adds one item at the person's own price to one of their price books (by id or name; a book of that name is created when none exists), read by the price book editor's own add row: name, unit the price is per, price above zero, supplier. Dated today and logged in the price journal when the person's autolog is on, as the editor logs it. Removable in the book editor. Returns bookId, bookName, createdBook, item (id, name, unit, price in the person's currency label, pricedOn) and journal (whether the price was logged in the price journal). |
{"name":"Plasterboard 12.5 mm","unit":"sheet","price":9.5,"supplier":"Northside Timber"} |
The field tools 1
For example /tools/
| Tool | What it does | Parameters |
|---|---|---|
list_field_toolsReads | List the field tools The site's field tools as the /tools/ hub lists them, grouped by what they use (motion sensors, camera and photos, screen and modelling, microphone, your own data): each tool's page, one-line purpose, the hardware it needs and where it stops being reliable. Returns groups, each with id, title and tools (slug, title, summary, requires, limitation, page link). |
{} |
Every field tool page 1
For example /tools/bubble-level/
| Tool | What it does | Parameters |
|---|---|---|
describe_field_toolReads | Describe this field tool What the open field tool page does and how to use it: its purpose, what it needs (a phone's motion sensors, the rear camera, the microphone, a screen), where its readings stop being reliable, the steps to take a reading, its questions and answers, and the calculators its result feeds. For sensor tools this is what an agent can do: tell the person how to measure. Returns slug, title, group, summary, description, requires (hardware), limitation, howTo steps, faq, relatedCalculators (slugs) and the page link. | —{} |
Tape calculator 1
For example /tools/tape-calculator/
| Tool | What it does | Parameters |
|---|---|---|
add_tape_measurementsReads | Add and subtract tape measurements The tape calculator's running total: feet, inches and fractions added and subtracted exactly in sixty-fourths of an inch (no decimal rounding), as the page's strip does, with the running total after each line, the total in decimal inches, decimal feet and millimetres, and optionally the marks that divide the total into equal spaces (rounded to 1/16 in, the last mark exact). Returns lines (each read and its running total), total as a tape reading, totalSixtyFourths (1/64 in), decimalInches (in), decimalFeet (ft), millimetres (mm), and marks (tape readings and exact inches) when spaces is given. |
{"measurements":[{"value":"5' 3-7/8"},{"value":"11-5/16"},{"value":"2 1/4","subtract":true}],"spaces":4} |
Cut list 1
For example /tools/cut-list/
| Tool | What it does | Parameters |
|---|---|---|
optimise_cut_listReads | Optimise a cut list into stock lengths The cut list optimiser's bar-by-bar cutting plan: from one stock length or several, a saw kerf charged on every cut and the pieces needed, the bars to buy of each length, what each bar is cut into, the offcut of each, the waste percent and the least stock any plan could use. Lengths in metres (kerf mm) or feet (kerf inches). A piece longer than the stock is listed, never split. Returns system, lengthUnit (m or ft) and kerf {value, unit}; buy (count of each stock length), bars (stock, cuts, used, offcut), stockCount, requiredLength, totalOffcut, longestOffcut, kerfTotal (all in lengthUnit), wastePercent (%), tooLong pieces, lowerBound, proven, gapPercent. |
{"system":"metric","stock":[6],"kerf":3,"pieces":[{"length":2.4,"quantity":5},{"length":1.8,"quantity":4}]} |
Mitre saw angle chart 1
For example /tools/miter-saw-angle-chart/
| Tool | What it does | Parameters |
|---|---|---|
read_miter_chartReads | Read the mitre saw angle chart The mitre saw angle chart's row for each corner given: the plain mitre each piece takes (degrees off square), the gap a 45° cut would leave on 18 mm and 3/4 in trim and which edge opens, and crown laid flat at 38/52 and 45/45 springs (mitre and bevel, degrees). Optionally the handing table: which way each piece is set at a square corner on a double-bevel saw. Returns rows per corner: angle (°), outsideThroughRoom (°), mitre (° off square), gapMm (mm at 18 mm trim) and gapIn (in at 3/4 in trim) for a 45° cut, insideOpens and outsideOpens, flat38 and flat45 crown {mitre, bevel} (°); handing rows when asked. |
{"angles":[90,92.5,135]} |
Corner angle finder 2
For example /tools/corner-angle-finder/
| Tool | What it does | Parameters |
|---|---|---|
compute_corner_from_bearingsReads | Work out a corner from two wall bearings The corner angle finder's arithmetic on two readings the person took: the compass bearings (degrees) of the phone pressed flat on the left wall and on the right wall, facing the corner. Returns the corner through the room (under 180 inside, over 180 outside), the other side, the plain mitre each trim piece takes, and links that open the mitre and crown calculators filled with it. Returns kind (inside, outside, straight), throughRoom and otherSide (°), turn (° signed), mitreEachPiece (° off square) and links to the mitre and crown calculators filled with the angle. |
{"bearingA":10,"bearingB":280} |
list_measured_cornersReads | List the corners the finder remembers The corners the corner angle finder has kept on this device (newest first, up to twelve), each with the person's label and its angle through the room in degrees, and the plain mitre each piece takes. Read only: measuring a new corner needs the phone on the wall. Returns corners, each with id, label, throughRoom (°), kind, mitreEachPiece (° off square) and measuredAt (ISO time). | —{} |
Roof pitch clinometer 1
For example /tools/roof-pitch-clinometer/
| Tool | What it does | Parameters |
|---|---|---|
convert_slopeReads | State a slope the clinometer's ways The roof-pitch clinometer's readouts for a slope the person read or measured: degrees, grade in percent, rise per 12 of run (to the nearest half, as roof pitches are quoted) and 1 in N (drainage gradients; none when level or past 45°). Give the angle in degrees, or a rise and a run in the same unit. Returns degrees (°), gradePercent (%), risePerTwelve (rise per 12 of run, nearest half) and oneInN (null when level or past 45°). |
{"degrees":26.6} |
My tools 2
For example /tools/my-tools/
| Tool | What it does | Parameters |
|---|---|---|
list_my_toolsReads | List the tools the person owns The What I own checklist: every generic tool type the site knows (by category: measuring, cutting, fastening…), each with whether the person has marked it owned in this browser, narrowed by category, words or owned. Generic types only, never brands, and no prices. Returns ownedCount and tools, each with id, name, category, description, keySpec and owned. |
{"category":"measuring"} |
set_tools_ownedChanges what is kept | Mark tools owned or not owned Ticks or unticks tools on the What I own checklist, through the checklist's own store, so the tool panels on calculators and My Company show them as owned. Call again with owned false to take a tick back. Returns owned (what was set), tools changed (id, name, category, owned) and ownedCount. |
{"toolIds":["tape-measure"],"owned":true} |
Tool kit by trade 1
For example /tools/trades/
| Tool | What it does | Parameters |
|---|---|---|
read_trade_kitReads | Read a trade's tool kit The tool kit page's kit for one trade (or the list of trades): each tool the trade's operations need with how strongly (essential, recommended, optional), the operations that use it and why, the cheaper alternative where one genuinely exists, the consumables (materials, not tools), the protective equipment and the stop-work notes. Generic tool types, no prices. Returns Without a trade: trades (trade, label, tool and operation counts). With one: trade, label, operations, tools (id, name, necessity, usedFor, alternative), consumables and ppe (items, notes with stopWork). |
{"trade":"carpentry"} |
Embed builder 2
For example /embeds/
| Tool | What it does | Parameters |
|---|---|---|
list_embeddable_calculatorsReads | Find calculators to embed Searches the calculators the embed builder can put on another site, the way its search box narrows the list (every word in the title or address): each calculator's slug, title, category and one-line description, with the best match first. Returns total and matched counts and calculators (slug, title, category, description), the best match first. |
{"query":"concrete slab","limit":5} |
build_embed_codeReads | Build a calculator's embed code Writes the embed code the /embeds/ builder writes for the choices given: the iframe of one calculator (full, compact or mini format), its theme, width, height in px, pinned units, heading, the credit link (plain or nofollow, never hidden) and optionally the auto-fit script; compact and mini can show chosen inputs. Returns the snippet to paste, the frame's address and the builder link with the calculator chosen. Nothing is changed or sent. Returns calculator (slug, title, category), the choices applied (format, theme, width, height {value, px}, units, heading, credit, autoResize, inputsShown, inputsOffered), snippet (the HTML to paste), frameUrl and builderUrl. |
{"calculator":"concrete-calculator","format":"full","theme":"light","width":"720px"} |
Settings 2
For example /settings/
| Tool | What it does | Parameters |
|---|---|---|
read_site_settingsReads | Read this browser's settings Every setting the Settings page shows for this browser: units, market and currency label, light or dark, the waste allowance tier (percent), the public holiday calendar, the clinometer's slope unit, whether typed prices are logged in the price journal, the estimate sheet's labour columns and row height, single-key shortcuts, and how many recent pages, stars and reading positions are kept. Returns settings: units, market (country, currency label), scheme, wasteTier (id, label, wastePercent %), holidayCalendar, slopeUnit, priceAutolog, sheetLabour, sheetDensity, singleKeys and the counts kept (recent, starred, reading, level calibration date). | —{} |
update_site_settingsChanges what is kept | Change this browser's settings Changes Settings-page preferences through the page's own setters: the waste allowance tier every calculator's waste field starts at, the public holiday calendar, the clinometer's slope unit, logging typed prices in the price journal, the estimate sheet's labour columns and row height, single-key shortcuts; and clears the kept lists the page offers to clear (recent pages, stars, reading positions, the level's calibration), which cannot be undone. Units, market and light or dark are set_preferences. Returns changed (what was set or cleared, in words) and settings as read_site_settings returns them after the change. |
{"wasteTier":"professional","slopeUnit":"pitch"} |
Guides, references and examples
The guides 1
For example /guides/
| Tool | What it does | Parameters |
|---|---|---|
list_guidesReads | List the how-to guides Lists the site's how-to guides (trade practice around the calculators: what happens on site, in what order, what goes wrong), filtered by words and by trade, with each guide's summary, trade, publication date and page address. Returns The matching guides (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every guide 2
For example /guides/how-to-build-a-deck/
| Tool | What it does | Parameters |
|---|---|---|
read_guideReads | Read the guide: Building a Timber Deck The open how-to guide (Building a Timber Deck) as structured content: every section in order with its paragraphs, numbered steps and tables, the materials checklist, the calculators it uses, the field tools it names, its neighbouring guides and its sources as written. run_guide_chain works its calculation on your measurements. Returns The guide: heading, summary, trade, dates, sections (paragraphs, steps, tables, drawing layers, calculators set in the text), the materials checklist, calculators, field tools, neighbouring guides and sources (text and any address), all with page links. | —{} |
run_guide_chainReads | Work the guide's calculation: Deck Works the open guide's "Try the calculation" block (Deck) on your measurements, as the block does: each calculator of the chain in order, every material with its waste and order quantity and every figure the next step uses, in metric and US customary, with the person-hours the operations take and the link that opens the block on these figures. No prices. Returns The chain run: each measurement used (value, unit, whether it is yours or the guide's), each row (material or figure) with its quantity and unit in both systems and order quantity, labour hours by operation, sources per calculator and the page link that reopens the block on these figures. |
{} |
The glossary 1
For example /glossary/
| Tool | What it does | Parameters |
|---|---|---|
list_glossary_termsReads | List the cross-market glossary Lists the cross-market construction glossary's concepts (one thing under its US, UK, Canadian and Australian names, such as plasterboard / drywall), filtered by words and by family, with each concept's page address. Returns The matching glossary terms (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every glossary term 1
For example /glossary/plasterboard/
| Tool | What it does | Parameters |
|---|---|---|
read_glossary_termReads | Read the glossary concept: Plasterboard / drywall The open glossary concept (Plasterboard / drywall): its one definition, what each market calls it with trade slang and how exact the equivalence is (identical, close, false friend, absent), the standards that govern it by market, where markets collide, the calculators that count it and related concepts. Returns The concept: definition, names per market (term, slang, exactness, note), every alias, standards per market with what each governs, market collisions as questions and answers, calculators and related concepts with page links. | —{} |
The worked examples 1
For example /examples/
| Tool | What it does | Parameters |
|---|---|---|
list_worked_examplesReads | List the whole-job worked examples Lists the whole-job worked examples (a real or modelled job — a bathroom retiled, a deck built — worked calculator by calculator), filtered by words and by family, with each job, market, basis, step count and page address. Returns The matching worked examples (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every worked example 2
For example /examples/attached-deck-built/
| Tool | What it does | Parameters |
|---|---|---|
read_worked_exampleReads | Read the worked example: 12 × 16 Deck Materials List, Worked Step by Step The open worked example (12 × 16 Deck Materials List, Worked Step by Step): the job, whether it is recorded or modelled, every measurement and how it was taken, the calculators in order with what each needs, produces and the figure the page pins, waste factors with reasons, what happened on site where recorded, where the estimate is most likely wrong, and its FAQ. Returns The example: job, basis (recorded or modelled), market, measurements (value as written and how taken), steps (calculator with page link, needs, produces, the pinned figure), waste factors, actuals, likely variance, FAQ, takeoff and guide links. | —{} |
run_worked_exampleReads | Re-run the worked example: 12 × 16 Deck Materials List, Worked Step by Step Re-runs the open worked example (12 × 16 Deck Materials List, Worked Step by Step) as its "Change the figures" panel does: your job figures (Deck length, along the house, Deck width, out from the house) and any single step input carried down the whole chain, each step beside the published figure with the difference, in both unit systems, with the lines and offered hours it would add to a project. No prices. Returns The re-run: each job figure (yours or published, both unit systems), each step with its answer and the published one and the difference, the project lines with quantities, units and offered person-hours, and the page link that reopens the panel on these figures. |
{} |
The calculator examples 1
For example /examples/calculators/
| Tool | What it does | Parameters |
|---|---|---|
list_calculator_examplesReads | List the calculator examples Lists the one-calculator worked examples (a real job run through one calculator, such as a 40 sq ft bathroom floor tiled), filtered by words and by market, with each job, its calculator, the printed answer and page address. Returns The matching calculator examples (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every calculator example 2
For example /examples/calculators/bathroom-floor-tile-40-sq-ft/
| Tool | What it does | Parameters |
|---|---|---|
read_calculator_exampleReads | Read the calculator example: A small bathroom floor, in tiles and boxes The open calculator example (Floor tile for a {in.area|p} bathroom in a plank tile laid in an offset bond): the scenario, every input the job sets and why, the headline and each breakdown line in both unit systems, what each step of the calculator does, what to order, the waste, the common mistake, what changes when the job changes, the FAQ and the sources. Returns The example: job, market and unit system, the calculator (page link, version, date checked), each input (value in both systems, why), the headline and breakdown lines as printed in both systems, steps, what to order, waste, the mistake, variants, FAQ, next calculators and sources. | —{} |
run_calculator_exampleReads | Run the example's job again: A small bathroom floor, in tiles and boxes Runs the open calculator example's job (Floor tile for a {in.area|p} bathroom in a plank tile laid in an offset bond) through Floor & Wall Tile Calculator again with the inputs you change over the example's own, exactly as the calculator page computes it, and returns the answer in metric and US customary with every input used, the breakdown, sources and the page link. Quantities only: no prices. Returns The calculator's answer on the example's inputs with yours over them: inputs used (with where each came from), the headline and breakdown in metric and US customary, confidence, sources and the page link that opens the calculator on them. |
{} |
The formula library 1
For example /formulas/
| Tool | What it does | Parameters |
|---|---|---|
list_formula_familiesReads | List the formula library's families Lists the open formula library's families (volume from geometry, coverage and spread rate, spacing and count, stairs, roof pitch, unit conversions…), filtered by words, with each family's formulas, their equations and the family page address. Returns The matching formula families (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every formula family 2
For example /formulas/volume-from-geometry/
| Tool | What it does | Parameters |
|---|---|---|
read_formula_familyReads | Read the formula family: Volume from geometry The open formula family (Volume from geometry): every equation in plain notation, MathML and a portable machine expression, what each variable means with its metric and US customary unit, the calculators that run it, the test vectors that hold it to them, the sources, the limits and the open licence. evaluate_formula works one. Returns The family: each formula (name, what it gives, plain equation, machine expression, MathML, output and inputs with symbol, meaning and metric / US customary units, calculators with page links, vector count, anchor link), its limits, sources with addresses, and the licence. | —{} |
evaluate_formulaReads | Evaluate a formula: Volume from geometry Evaluates one equation of the open formula family (Volume from geometry) on the values you give, in metric or US customary units, with the same expression the library publishes and its calculators are tested against; returns the result in both unit systems with the equation and the variables used. Arithmetic only: no rounding to stock sizes, no waste. Returns The result in metric and US customary units (value and unit each), the formula (id, name, equation, expression), each input as given and in metric, and the formula's anchor link. |
{"formula":"rectangular-prism-volume","values":{"L":3,"W":3,"D":0.1},"system":"metric"} |
Verification history 1
For example /verification/
| Tool | What it does | Parameters |
|---|---|---|
read_verification_historyReads | Read the verification history The site's public verification history: how many calculators, test vectors, cited and sole-source calculators and revisions there are, calculators published and revised month by month, and every correction with when it was found and by whom. Returns The totals (calculators, vectors, cited, sole-source, revisions, corrections, formulas), who found the corrections, each month's published / revised / corrections counts, and every correction (id, date found, by whom, title, link). | —{} |
The methodology papers 2
For example /methodology/
| Tool | What it does | Parameters |
|---|---|---|
list_methodology_papersReads | List the methodology papers Lists the methodology papers (why each formula the calculators run is the formula: volume, coverage, spacing, loads, unit rates…), filtered by words and by group, with each paper's summary, equation and section counts and page address. Returns The matching methodology papers (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
read_labour_rate_sourcesReads | Read the labour rate source cards The labour source cards behind every offered hour on the site: each operation's person-hours per unit as a band (low, likely, high), the unit, the typical crew, the basis and source wording (trade rule of thumb or arithmetic, and how far to trust it) and what moves a job to the slow or fast end. Hours only: never money. Returns The source cards: per operation the person-hours per unit band (low, likely, high), the unit, crew and crew size, the basis and its confidence in words, the source wording, what moves it and how many calculators it is attached to; with the table's link. |
{"operation":"plasterboard"} |
Every methodology paper 1
For example /methodology/volume-from-geometry/
| Tool | What it does | Parameters |
|---|---|---|
read_methodologyReads | Read the methodology paper: Volume from Geometry, and the Order That Follows The open methodology paper (Volume from Geometry, and the Order That Follows): each section's text in order, each equation with its plain-language reading, what every symbol stands for and its MathML, the calculators and field tools that use the method, and the sources it is drawn from. Returns The paper: title, group, summary, sections (paragraphs; each equation's reading, symbols and MathML), the calculators and field tools that use it and its sources (text and any address), with page links. | —{} |
The comparisons 1
For example /compare/
| Tool | What it does | Parameters |
|---|---|---|
list_comparisonsReads | List the material and method comparisons Lists the site's comparisons (one decision between two ways of building, such as bagged concrete vs ready-mix or LVP vs tile), filtered by words and by family, with the two calculators weighed and each page address. Returns The matching comparisons (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every comparison 2
For example /compare/lvp-vs-tile/
| Tool | What it does | Parameters |
|---|---|---|
read_comparisonReads | Read the comparison: LVP vs Tile Flooring The open comparison (LVP vs Tile Flooring): the question it answers, the factors side by side for Luxury vinyl plank and Ceramic / porcelain tile, when to choose each, its FAQ and the two calculators that count each side. Returns The comparison: question, summary, intro, both sides (label, calculator with page link), the factors side by side, when to choose each, and its FAQ. | —{} |
run_comparison_on_jobReads | Work both sides on one job: LVP vs Tile Flooring Works both sides of the open comparison (Luxury vinyl plank and Ceramic / porcelain tile) on one job, as the page's "both on one job" workspace does: each calculator on the job's figures, each side's answer, allowance, weight and person-hours in both unit systems, the difference in the measure both share, and where the choice flips as one job figure sweeps. No prices. Returns Both sides on the job: the job's fields (yours or the page's), each side's answer in both unit systems, allowance, weight in kg and person-hours, the shared measure and the difference, the sweep with the crossings, and calculator links. |
{} |
The diagnostics 2
For example /diagnostics/
| Tool | What it does | Parameters |
|---|---|---|
list_diagnosticsReads | List the fault diagnoses Lists the fault diagnoses (a symptom on site — paint peeling off new plaster, a breaker that trips — with its candidate causes and checks in order), filtered by words and by family, with cause and check counts and each page address. Returns The matching diagnoses (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
find_diagnosis_for_symptomReads | Find the diagnosis for a symptom Matches a symptom described in your own words (what you see, hear or smell, and where) to the site's fault diagnoses and the structural warning signs, and returns the best match's candidate causes, what tells each apart, the checks in order and when to call a professional. Never a verdict. Returns Whether the match is clear, ambiguous or none, each matched diagnosis (symptom, causes with likelihood and how to tell them apart, checks in order, when to call a professional, page link) and other candidates. |
{"symptom":"paint peeling off new plaster"} |
Every diagnosis 1
For example /diagnostics/paint-peeling-off-new-plaster/
| Tool | What it does | Parameters |
|---|---|---|
read_diagnosticReads | Read the diagnosis: The paint is peeling off my new plaster The open fault diagnosis (The paint is peeling off my new plaster): its candidate causes with likelihood, the observation that tells each apart and the one check for each, the checks in the order to make them and why, the calculators involved, and when to call a professional. Candidates to check, never a verdict. Returns The diagnosis: symptom, verdict line, intro, causes (likelihood, distinguishing observation, check), the checks in order with why, when to call a professional, calculators and related diagnoses with page links. | —{} |
When to call an engineer 1
For example /diagnostics/when-to-call-an-engineer/
| Tool | What it does | Parameters |
|---|---|---|
read_structural_warning_signsReads | Read the structural warning signs The open page of structural warning signs (when to call an engineer): each sign, what it looks like, why it is a load-path question rather than a finish one, and how urgent it is. It never says a sign is safe and never replaces an assessment. Returns Every structural warning sign: its id, symptom, what it looks like, why it is structural, its urgency and its anchor link on the page. | —{} |
The materials 1
For example /materials/
| Tool | What it does | Parameters |
|---|---|---|
list_material_hubsReads | List the material hubs Lists the material hubs (one page per material — concrete, drywall, lumber, roofing, paint… — gathering its calculators, takeoffs, examples, guides and how each market sells it), filtered by words, with each hub's page address. Returns The matching material hubs (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every material 1
For example /materials/concrete/
| Tool | What it does | Parameters |
|---|---|---|
read_material_hubReads | Read the material hub: Concrete The open material hub (Concrete): the overview, how each market orders and measures it, the calculators grouped by job with why each, the takeoffs, Solve Backwards pages, worked examples, reference tables, guides, glossary terms, methods and standards for it, and its FAQ. Returns The hub: overview sections, how each market orders and measures the material, start-here calculator, calculators grouped by job with reasons, takeoffs, Solve Backwards pages, examples, reference tables, guides, glossary, methods, standards and FAQ, every row with its page link. | —{} |
Solve Backwards 1
For example /solve-backwards/
| Tool | What it does | Parameters |
|---|---|---|
list_solve_backwards_pagesReads | List the Solve Backwards pages Lists the Solve Backwards pages (I have this much material: how big a room, deck or slab does it cover?), filtered by words and by family, with each page's question, material, calculator and page address. Returns The matching Solve Backwards pages (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every Solve Backwards page 2
For example /solve-backwards/wall-paint/
| Tool | What it does | Parameters |
|---|---|---|
read_solve_backwards_pageReads | Read the Solve Backwards page: How much wall will my paint cover? The open Solve Backwards page (How much wall will my paint cover?): what it solves for, the calculator it runs backwards, the amounts it works through in each unit system, its three readings and its FAQ. run_solve_backwards answers it for the amount you have. Returns The page: question, material, what it sizes, the calculator (page link), what you give it (kind, unit, opening amount and the amounts it tabulates, both systems), its readings and FAQ. | —{} |
run_solve_backwardsReads | Solve backwards: How much wall will my paint cover? Answers the open Solve Backwards page for the amount you have (how much wall paint you have, with its unit (a volume)): the area it covers and the room size in metric and US customary, with the calculator's waste taken off, the assumptions it used and links that open the page and the calculator on the answer. Returns The answer: what you have as read, whether the calculator reached it, the area in m² and sq ft, the size in metres and feet, the typical case, the chain of reasoning, the forwards check, assumptions and page links. |
{"have":20,"system":"metric"} |
The academy 1
For example /academy/
| Tool | What it does | Parameters |
|---|---|---|
list_academy_pathsReads | List the academy learning paths Lists the academy's learning paths (an ordered run of guides, calculators and field tools for one role, such as concrete basics), filtered by words and by shelf, with each path's audience, summary, length in minutes and page address. Returns The matching learning paths (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every academy path 1
For example /academy/concrete-basics/
| Tool | What it does | Parameters |
|---|---|---|
read_academy_pathReads | Read the learning path: Concrete basics The open academy learning path (Concrete basics): who it is for, what you will be able to do, and every step in order (a guide to read, a calculator to run or a field tool to try) with why it comes there, its minutes and its page address. Returns The path: title, audience, shelf, summary, intro, outcomes and its steps in order (kind, title, page address, minutes, whether a demo is drawn, why), with total minutes. | —{} |
The standards 1
For example /standards/
| Tool | What it does | Parameters |
|---|---|---|
list_standardsReads | List the standards and codes Lists the standards and model codes the calculators cite (IRC, ACI 318, BS EN…), filtered by words and by publishing body, with each document's scope, how many calculators cite it and its page address. Returns The matching standards (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every standards page 1
For example /standards/icc/irc/
| Tool | What it does | Parameters |
|---|---|---|
read_standardReads | Read the standard: International Residential Code The open standards page (International Residential Code): its scope, editions and revision cycle, where it applies, the publisher and where to get it, every calculator on the site that cites it with the sections each cites, and the editions the site's citations name. Adoption is local: never a statement that it applies to your job. Returns The document: title, publishing body (name, abbreviation, role), scope, editions, cycle, region, the publisher's address, editions the site cites, each citing calculator with the sections it cites and page link, and calculators per section. | —{} |
The reference tables 1
For example /reference/
| Tool | What it does | Parameters |
|---|---|---|
list_reference_tablesReads | List the reference tables Lists the site's reference tables (copper conductor ampacity, bulk densities of materials, production rates by operation…), filtered by words and by family, with each table's summary, row count and page address. Returns The matching reference tables (title, summary and page address of each), how many match and how many there are, a page at a time. |
{"limit":5} |
Every reference table 2
For example /reference/labour/production-rates/
| Tool | What it does | Parameters |
|---|---|---|
read_reference_tableReads | Read the reference table: Production rates by operation The open reference table (Production rates by operation): its columns with their units, its rows (filtered by words if you like) with each value, band or text, the source kind and wording of each row and its note, what the table leaves out, and the calculators whose data it is. Returns The table: columns (key, label, unit), matching rows (raw cells as point / band / text, the printed value per column, source kind and wording, note), counts, what it leaves out and the calculators that use it with page links. |
{"limit":20} |
read_labour_rate_sourcesReads | Read the labour rate source cards The labour source cards behind every offered hour on the site: each operation's person-hours per unit as a band (low, likely, high), the unit, the typical crew, the basis and source wording (trade rule of thumb or arithmetic, and how far to trust it) and what moves a job to the slow or fast end. Hours only: never money. Returns The source cards: per operation the person-hours per unit band (low, likely, high), the unit, crew and crew size, the basis and its confidence in words, the source wording, what moves it and how many calculators it is attached to; with the table's link. |
{"operation":"plasterboard"} |
When tools appear
- The page loads and hydrates as it always does; nothing about WebMCP is in its first download.
- It checks once for
document.modelContext. Without it, the check is the whole cost and nothing more is loaded. - Where it exists, the page loads its tool module and calls
registerToolfor each tool, with an abort signal. - Leaving the page, or switching it to another calculator or plan, aborts that signal, and the browser drops the tools.
What a tool may change
Reading tools are marked read-only. A tool that changes what is kept, such as adding a wall on the canvas or a line to a project, is marked consequential, works on the reader’s own copy in that tab through the page’s own controls and, where the page has Undo, lands as one step it takes back. No tool does anything the page itself cannot, and none sends anything off the device: the calculations run in the page, as they do when the reader types.
An assistant outside the browser cannot reach these tools. For that, connect it to the remote MCP server, which offers the same calculators without a page.
Checking for it
WebMCP is a draft of the W3C Web Machine Learning Community Group, available in Chrome as a preview. A quick check in the browser console says whether the current browser offers it:
"modelContext" in documentOlder previews placed the API on navigator; the pages follow the draft and read it from the document only.