1. Conduid
  2. RAG
  3. Bidwright
MCP server · RAG

Bidwright

AI-native construction estimating platform for intake, takeoff, pricing, scheduling, knowledge, and quotes.

55Fair

Scored 22 hours ago · breakdown

About Bidwright

Bidwright is an MCP server published by braedonsaunders in the RAG category: aI-native construction estimating platform for intake, takeoff, pricing, scheduling, knowledge, and quotes. Conduid read 188 tools from its source: addModelTakeoffGroupToWorksheet, addSourceToDrawingAtlas, aggregateModelElements, analyzeDrawingGeometry, applyModelTakeoffRecipe, applySummaryPreset and 182 more. No package is published for it, so it installs from a source checkout.

The repository has 84 stars and 24 forks, and its last commit was on 3 Nov 2026. Conduid has no tagged release on record for it. Its topics include construction, construction-estimating, construction-tech, estimating, fastify and nextjs.

Install

From source
git clone https://github.com/braedonsaunders/bidwright

Tools (188)

addModelTakeoffGroupToWorksheetCreate one worksheet line from a persisted BIM/CAD system, run, network, or estimate group and bulk-link every source object for 5D traceability. This is the agent equivalent of Takeoff Studio's explicit Add group action. It uses the topology's measured quantity and unit, preserves the group signature and native object provenance, and rolls the new worksheet item back if linking fails. Call queryModelTakeoffGroups first and use an exact signature.
addSourceToDrawingAtlas
aggregateModelElementsAggregate persisted elements and quantities by class, type, level, system, material or property; separate units, methods and gross/net bases. Container/duplicate APS nodes are excluded; excludedElementCount and excludedElementIds report those exclusions, including explicitly selected IDs. For new pipe feet by size, use elementClass=Pipe, groupBy=property, property=AutoCAD.Size and propertyFilters with AutoCAD.Status=New.
analyzeDrawingGeometryRun Bidwright's generic OpenCV drawing-intelligence pass on a PDF page. WHEN TO USE: Use this when linework, circles, candidate symbols, text regions, or connected drawing topology matter. This is the broad CV pass; it is not trade-specific unless you select a preset. INPUTS: - documentId: Document ID from listDrawingPages - pageNumber: Page to analyze - preset: generic by default; use mechanical_piping/plumbing/fire_protection/ductwork/electrical/civil_linear/structural to tune line filtering and system labels - traceSystems: true to group connected linework into candidate runs/systems - maxLines/maxRegions: optional output budgets; set maxLines to 0 for full line output on dense sheets OUTPUT: Compact JSON with summary, coordinate space, top line segments, circles, symbol candidates, text regions, and systems. Coordinates are in the returned imageWidth/imageHeight coordinate space and can be saved as takeoff marks after human/agent review.
applyModelTakeoffRecipeSet a model's default Takeoff Studio recipe and rebuild its topology.
applySummaryPresetApply a summary preset to configure quote breakout. Presets: quick_total (single total), by_category (per category), by_phase (per phase), by_worksheet (per worksheet), by_masterformat_division, by_uniformat_division, by_omniclass_division, by_uniclass_division, by_din276_division, by_nrm_division, by_icms_division, by_cost_code, phase_x_category (phases with category detail), custom (empty). After applying, rows can be individually customized.
askUserAsk the user a question and wait for the answer. Use it when you need information only they have (scope intent, client decisions, commercial terms) and a reasonable assumption would not do. When the question is about something on a drawing, pass the viewId of the image you are looking at so the user sees the same thing.
batchEditWorksheetItems
buildDrawingAtlas
calculateMathRead-only scratch calculator for arithmetic, percentages, markups, ratios, functions, and simple final-unit conversions. Use this to check reasoning math. Do not use it to calculate or overwrite Bidwright estimate line items; use worksheet tools and recalculateTotals for committed estimate values.
classifyDrawingLayersClassify PDF optional-content layers or CAD layers/entities by likely construction discipline. WHEN TO USE: Before running a trade-specific trace or count on CAD/vector drawings. This tells the agent whether the file exposes useful native layers and which layers look like piping, ductwork, electrical, structure, annotations, title blocks, or reference geometry.
compareAnalysisToTakeoffCompare a stored drawing analysis with saved takeoff annotations and worksheet links. WHEN TO USE: After CV has found candidates, use this to tell what is detected but not yet saved, and what is saved as a mark but not yet linked to an estimate/takeoff row.
countComponentsRead a component census from extracted schedule/legend tables and literal tagged callouts. Returns component types, counts per page, method, confidence and source refs. Optional symbolPages runs the existing visual cluster detector; clusters need source-legend interpretation. Overlapping methods are not summed. No takeoff marks are written.
countDrawingSymbolCount a drawing symbol and return rawMatches plus DrawingDetection objects for saveDetectionsAsTakeoffMarks. The template boundingBox uses renderDrawingPage pixel coordinates and image dimensions. Returned detections use the detector imageWidth/imageHeight pixel frame. Counting is read-only.
countSymbolsCompatibility alias for countDrawingSymbol returning matches instead of detections. The template boundingBox uses renderDrawingPage pixel coordinates and image dimensions. Returned matches use the detector imageWidth/imageHeight pixel frame. Counting is read-only; saveCountAsAnnotations saves the result.
countSymbolsAllPagesCount a symbol across ALL pages of a multi-page document in one call. The server handles the per-page loop — much faster than calling countSymbols for each page individually. WHEN TO USE: After finding a symbol on one page with countSymbols, use this to search the entire document for the same symbol. This is the "Search All Pages" capability. INPUTS: - documentId: Document ID from listDrawingPages - boundingBox: Same bounding box used in countSymbols — coordinates in renderDrawingPage coordinate space - threshold: Match confidence (default 0.75) - crossScale: Set to true if pages may have different zoom levels or if the symbol might render at slightly different sizes across pages. ALWAYS use true when searching across documents from different sources. OUTPUT: Per-page breakdown {pageNumber, totalCount, matches} plus grandTotal across all pages. Use this to see exactly which pages contain the symbol. EXAMPLE USE CASES: - "Count all valve tags across a 12-page P&ID set" → one call, get counts per page - "How many fire sprinklers on each floor plan?" → search a multi-page architectural set - "Find this symbol across all project drawings" → call this for each document from listDrawingPages with crossScale=true
createALICreate an additional line item (ALI) — items outside worksheets like options, bonds, permits, or allowances. Types: - OptionStandalone: a priced option the client can accept/decline (excluded from base total) - OptionAdditional: an add-on option (adds to base total if accepted) - LineItemAdditional: extra cost added to the base total - LineItemStandalone: standalone item not in any worksheet - CustomTotal: override or custom total line
createConditionAdd a condition to the quote — exclusions, inclusions, clarifications, assumptions, or terms.
createDatasetCreate a new structured dataset with columns and rows. Use this to store extracted table data from knowledge books. Include rich tags for searchability.
createEstimateFactorCreate an estimate factor. Factors affect worksheet-derived production/cost before rollups and quote modifiers. Use sourceType/sourceRef to cite the basis: knowledge book page, labor unit, dataset, project condition evidence, library preset, or custom assumption; prefer sourceType "project_condition" for project-specific access/weather/site/method constraints. For a global/scoped factor set applicationScope="global" and scope filters such as {mode:"all"}, {mode:"category", analyticsBuckets:["labour"]}, {mode:"phase", phaseIds:[...]}, or {mode:"worksheet", worksheetIds:[...]}. For a line-level factor, first create/read worksheet items, then set applicationScope="line" and scope:{mode:"line", worksheetItemIds:[...]}. Do not bake factor effects into worksheet quantities, tierUnits, unit costs, or hand-calculated labour values when an explicit factor should carry the adjustment. value is a multiplier: 1.10 = +10%, 0.92 = -8%. After creating a factor, call recalculateTotals/listEstimateFactors/getWorkspace to verify target counts and deltas.
createEstimateFactorLibraryEntryCreate a reusable organization factor library entry. Use this when a researched factor should be available on future estimates; include sourceRef evidence from books, labor units, condition score sheets, or human-approved assumptions.
createModifierCreate a financial modifier on the quote — overhead, profit, contingency, discount, fuel surcharge, etc. Modifiers adjust the quote total by percentage or fixed amount. Use appliesTo to control scope (All, Labour Only, Materials Only, Equipment Only). Set show="Yes" to display on the client-facing quote, "No" to hide (distribute into line items).
createPhaseCreate a project phase for organizing line items. Returns the phase ID — use it as phaseId when creating worksheet items.
createProjectFile
createRateScheduleWorksheetItemCreate a system-calculated rate-schedule worksheet row with a smaller safer payload. Use this for Labour, Equipment, Rental Equipment, and General Conditions rate-card rows instead of the broad createWorksheetItem tool. Provide a concrete rateScheduleItemId and positive tierUnits; Bidwright derives the category/name from the imported rate schedule and calculates cost/sell. Do not pass cost, price, or markup.
createReportSectionCreate a report section for the quote PDF. Sections appear in the generated PDF document in order. Common types: cover_letter, scope, methodology, schedule, safety, assumptions, team. Content supports markdown.
createScheduleTaskCreate a schedule task or milestone for the project Gantt chart. Link to a phase for grouping. Set startDate/endDate (ISO strings) and duration (days).
createSummaryRowAdd a row to the quote summary. A row either aggregates a source (category, phase, worksheet, classification, adjustment) or is structural (heading, separator, subtotal). Values come from the aggregated source, not from this call.
createSymbolTemplateFromRegionSave a drawing crop as a project SymbolTemplate. Region uses view-normalized coordinates with viewId, otherwise PDF points. Alternatively pass an extracted legendEntry unchanged.
createWorksheetCreate a new worksheet (cost breakdown section) in the quote. Use folderId or folderPath for large estimates. Folders organize worksheets; line items still belong to worksheets.
createWorksheetFolderCreate a worksheet folder for organizing large estimates. Folders do not contain line items directly; worksheets do.
createWorksheetItemCreate a line item in a worksheet. IMPORTANT: categoryId is preferred; category name is accepted for backward compatibility and must resolve to an EntityCategory from getItemConfig. For tiered/rate categories, provide rateScheduleItemId, quantity, and tierUnits only; Bidwright calculates cost and price. Use the rate item name as entityName and put task details in the description field, NOT in entityName. For freeform categories, provide quantity plus the editable unit cost/price basis. UOM defaults to the category default; with laborUnitId, an explicitly supplied source output UOM is retained. evidenceBasis is optional and records the basis for review. Two-axis form: evidenceBasis.quantity declares where the quantity/hours/duration came from, and evidenceBasis.pricing declares where the unit cost/rate/productivity came from. Drawing/takeoff quantities use drawing_quantity/visual_takeoff/drawing_table/drawing_note under evidenceBasis.quantity and can cite saved claim IDs and viewIds; pricing can separately be material_quote, rate_schedule, knowledge_labor, vendor_quote, equipment_rental, subcontract, allowance, indirect, assumption, document_quantity, or mixed.
createWorksheetItemFromCandidateCreate a worksheet item from a candidate returned by queryLibrary, recommendCostSource, or recommendEstimateBasis, preserving structured cost-resource provenance and source-basis evidence. When drawings exist, include evidenceBasis so this helper cannot bypass the line-level evidence contract.
deleteALIDelete an additional line item from the quote.
deleteConditionDelete an existing quote condition by its getConditions ID.
deleteEstimateFactorDelete an estimate factor from the current revision.
deleteEstimateFactorLibraryEntryDelete an editable organization factor library entry.
deleteModelTakeoffLinkDelete a 5D takeoff link between a model asset and a worksheet line item. This does not delete the worksheet item itself.
deleteModifierDelete a modifier from the quote.
deleteReportSectionDelete a report section from the quote.
deleteSummaryRowDelete a summary row from the quote.
deleteWorksheetDelete a worksheet (an entire cost section) from the current revision. Cascades to any remaining line items — only call this once the worksheet is empty or you intentionally want to drop its lines and recalc totals.
deleteWorksheetFolderDelete a worksheet folder. Child folders and worksheets are moved up one level; line items are not deleted.
deleteWorksheetItemDelete a line item from a worksheet.
describeIntegrationReturn the manifest of a connected integration including all available actions, their inputs, and outputs. Pair with `listIntegrations`.
describeToolsReturn compact input schemas for a whole work phase: sources, pricing, estimate, reconciliation or system. A named-tool request includes its phase siblings, so one call covers related operations. Existing family names also work. With no filters, return the catalog.
detectDrawingScaleRead title-block OCR scales and explicit dimension-line ratios. Returns separate candidates and conflicts; saves no calibration.
detectScaleRender a drawing page and extract the title block area to detect the drawing scale. WHEN TO USE: Before measuring distances on a drawing with measureLinear. The title block (usually bottom-right corner) contains scale information like "1/4" = 1'-0"", "1:50", or "SCALE: 1"=20'". This tool renders that area at high resolution so you can read the scale notation. INPUTS: - documentId: Document ID from listDrawingPages - pageNumber: Page number (default 1). For multi-page drawing sets, each page may have a different scale OUTPUT: A high-resolution image of the title block region plus metadata (page dimensions, image dimensions). YOU must visually read the scale from the image and calculate the pixelsPerUnit calibration for measureLinear. HOW TO CALCULATE CALIBRATION: If the scale is "1/4" = 1'-0"" and the image was rendered at 150 DPI: - 1/4" on paper = 150 * 0.25 = 37.5 pixels - 1/4" represents 1 foot - So pixelsPerUnit = 37.5 pixels per foot COMMON PITFALLS: - Title blocks are usually in the bottom-right corner, but not always — if the tool doesn't find scale info, try renderDrawingPage and look manually - Some drawings have multiple scales (e.g. "PLAN: 1/4" = 1'-0"", "DETAIL: 1" = 1'-0"") — use the one relevant to your measurement area - The scale may be for the original print size (e.g. "24x36") — the DPI factor matters
extractDrawingLegendExtract legend symbols, descriptions and PDF-inch crop boxes from a drawing page.
extractModelBomReturn the persisted model BOM/quantity rows for estimating. The BOM is conservative: unsupported formats return a clear status and empty rows instead of guessed quantities.
finalizeEstimateStrategyFinalize the staged estimate workflow after reconcile is complete. Call this near the end of the estimate session.
findDrawingSymbolCandidatesFind symbol-like regions with optional crop thumbnails. Candidate bbox coordinates use the returned full-page imageWidth/imageHeight pixel frame and can be passed to countDrawingSymbol.
findSymbolCandidatesCompatibility alias for findDrawingSymbolCandidates, returning up to 30 native candidate boxes without thumbnails. Candidate x/y/w/h use the returned imageWidth/imageHeight pixel frame.
generateQuotePdfGenerate the quote PDF and return a download URL. Uses saved PDF preferences for layout. Template types: - main: Full client-facing quote with cover letter, breakout, conditions - backup: Detailed backup/internal version with all line items - sitecopy: Simplified site copy for field use - closeout: Closeout/as-built version - schedule: Project schedule/Gantt chart PDF
getBookPageView the actual PDF page of a reference book as an image with positioned text. Read source tables, column headings, units and footnotes directly; zoom with a tile from the overview grid or a normalized bbox. Uses bookId and pageNumber from search results. Returns the original file path too for native PDF reading.
getConditionsRead the saved quote conditions with IDs and text.
getDocumentStructuredGet the Azure Document Intelligence structured extraction for a project source document: tables (as markdown), key-value pairs, section headings, and page-by-page text. For knowledge books, use readDocumentText and getBookPage instead.
getDrawingEvidenceLedgerRead the persisted drawing atlas summary, evidence claims, inspections, contradictions, and latest verifier status without dumping the full atlas.
getEstimateStrategyGet the persisted estimate strategy for the current revision. Defaults to a compact resume summary to avoid oversized tool output. Pass section to inspect one section in more detail.
getFileIngestCapabilitiesReport Bidwright's universal file ingest adapter capabilities. Use this before relying on extraction from PDFs, Word/Office files, spreadsheets, images, CAD/BIM/model files, text, or unsupported file types. Configuration is organization-scoped through Bidwright settings.
getItemConfigDiscover how line items work in this organization. Returns compact entity category config plus bounded summaries of imported rate schedules, catalog items, and available org schedules. CALL THIS FIRST before creating line items, then call listRateScheduleItems with q/category/scheduleId when you need specific rateScheduleItemId values.
getLaborUnitFetch one labor-productivity unit by ID for focused source/metadata inspection after listLaborUnits returns a candidate. Use this for sourceRef details, not broad searches.
getLineDerivation
getModelElementDetailsReturn exact BIM/CAD element records, native properties, extracted quantities, and the system/run/estimate groups that contain them. Use this after queryModelElements or queryModelTakeoffGroups when you need to inspect object properties, verify length/area/volume/count, or understand where an object sits in the detected topology. Element ids are Bidwright model-element ids, not viewer dbIds.
getModelIngestCapabilitiesReport BidWright's CAD/BIM/model ingest capability matrix. Use this before relying on RVT, DWG, IFC, DXF, STEP, mesh, or Autodesk APS extraction. It returns explicit adapter states: available, missing, unsupported, degraded, or failed.
getModelManifestReturn a persisted BidWright model manifest. The manifest includes parser status, source lineage, native file metadata, element/quantity counts, model issues, and any extracted model tree data.
getModelRevisionDiffRead a persisted model revision diff and its worksheet impact, or list available diffs.
getModelSolidMetricsRead persisted per-solid surface area, closure-checked volume, bounds and assembly BOM with units.
getModelTakeoffLinksReturn the live 5D links between a model asset and quote worksheet line items. Use this to understand which model elements/quantities already drive estimate rows before creating, editing, or deleting line items.
getPdfPreferencesGet the saved PDF layout preferences for this quote — sections, branding, page setup, template, and custom sections.
getPipingMtoRead pipe lengths, components and explicit joints from a project PCF or Spoolyard .piping file. Native XYZ coordinates; quantities in metres or EA. Does not save.
getProjectSummaryGet a compact summary of the current project — name, client, location, revision info, estimate totals, item count.
getRateScheduleGet one org-level rate schedule with paginated item details. Use this only after listRateSchedules identifies a likely schedule.
getRevisionImpactRead affected pickups, links and worksheet rows for a source document, FileNode (raw id or file-<id>), or saved model revision diff. Reports human and unrecorded provenance; makes no edits.
getSourceOverviewRead current project sources, persisted capabilities and existing takeoff summaries.
getTakeoffCalibrationRead shared page and detail-region takeoff calibrations.
getWorksheetTreeGet the worksheet folder tree for the current quote. Folders organize worksheets; line items still belong to worksheets.
getWorkspaceGet the current quote workspace — saved revision description (Setup → General → Description / Scope of Work), customer-facing notes and lead letter, worksheets, items, phases, estimate factors, modifiers, conditions, totals. Read revision.description to preserve existing wording and verify the customer-facing scope narrative after saving it.
importProjectScheduleFileImport one already-uploaded Microsoft Project or Primavera P6 file into Bidwright's native schedule. Use listScheduleImportCandidates first. This replaces the current revision schedule with the parsed tasks/dependencies/resources; it does not change estimating worksheets or evidence gates.
importRateScheduleImport a global (org-level) rate schedule into the current quote revision. This creates a revision-scoped copy with all tiers and items. Required before Labour/rate_schedule items can be created.
inspectDetectionRegionReturn a high-resolution crop of a detection region plus nearby native text and stored analysis detections. WHEN TO USE: After analyzeDrawingGeometry, traceDrawingSystems, findDrawingSymbolCandidates, or compareAnalysisToTakeoff returns a candidate and the agent needs visual evidence before saving, rejecting, or linking it.
inspectDrawingRegion
inspectFileIngestRun Bidwright's universal file ingest adapter for one stored project source and return the normalized manifest. Use listProjectDocuments/listModels/file browser context first to find a sourceDocument or fileNode id. This does not change estimating gates; it materializes durable ingest artifacts for inspection.
inspectProjectImageVisually inspect one raster image uploaded through Documents → Files. WHEN TO USE: After listProjectImages identifies a relevant project photo, marked-up screenshot, equipment nameplate, sketch, or other raster image. This returns the original image bytes as a native MCP image block so the selected multimodal model can actually see the pixels. INPUT: fileNodeId from listProjectImages. SUPPORTED FORMATS: PNG, JPG/JPEG, WebP, and GIF, up to 20 MB. COMMON PITFALLS: - Do not claim to have inspected an image if you only listed it - Use the returned file name/path in your evidence notes - Use renderDrawingPage/zoomDrawingRegion for PDFs rather than this tool
invokeIntegrationActionInvoke any action on a connected integration. Prefer the dedicated `integration_{slug}_{actionId}` tools when available — this generic invoker is the fallback.
invokeToolCall a named tool with its normal input schema and access policy. Returns its normal result, including images.
linkModelElementToWorksheetItemCreate a 5D takeoff link from a model element or model quantity to an existing worksheet line item. Call createWorksheetItem first when a new estimate row is needed, then call this tool with the returned worksheetItemId and the modelElementId/modelQuantityId from queryModelElements or getModelManifest.
linkPickupToWorksheetItemLink a saved takeoff annotation to a worksheet item. This makes the row quantity derive from the PDF/DWG takeoff link and gives reviewers a trail back to the Takeoff tab.
listCalibrationLessons
listDatasetsList existing datasets in the organization as a compact, paginated index. Use queryKnowledgeDataset for focused row searches.
listDocumentsList all project documents with their metadata — fileName, fileType, documentType, pageCount, whether structured data is available. Use this to understand what documents you have before reading them.
listDrawingAnalysesList previous Drawing Intelligence analysis runs stored on a drawing document. WHEN TO USE: Use this to avoid rerunning expensive CV work, audit accepted/rejected counts, or find the analysisId required by compareAnalysisToTakeoff and inspectDetectionRegion.
listDrawingPagesList all PDF drawing documents in the current project with their page counts. WHEN TO USE: Call this FIRST when starting any vision workflow. You need document IDs to use all other vision tools. INPUTS: None required — automatically scoped to the current project. OUTPUT: Array of documents with id, fileName, pageCount, and documentType. Use the "id" field as the documentId parameter for renderDrawingPage and other tools. COMMON PITFALLS: - Do NOT guess document IDs — always call this tool first to get valid IDs - Documents with documentType "drawing" are construction drawings; "reference" docs may also be PDFs but aren't drawings - pageCount may be null if the document hasn't been fully processed yet
listEstimateFactorLibrarySearch a compact index of built-in and organization estimate factors. Use this after reading knowledge books, labor units, datasets, and project documents to seed weather, access, safety, schedule, method, condition, escalation, or productivity multipliers. The agent decides whether a factor is relevant and whether it belongs globally/scoped or on specific line items. This returns compact rows only; do not expect the full library payload.
listEstimateFactorsList estimate factors already applied to the current revision, including calculated target counts, target line item IDs, and value/cost/hour deltas. Use this after creating global or line-level factors to verify they affected the intended worksheet rows.
listIntegrationsList the external integrations connected to this Bidwright organization (NetSuite, Procore, Slack, custom REST, etc.). Use BEFORE invoking any integration_* tool to confirm an integration is connected and which actions it exposes.
listKnowledgeBooksList the available knowledge books for this project and organization. Use this before reading handbook/reference content so you know the IDs to pass into readDocumentText.
listKnowledgeDocumentsList manually-authored knowledge page libraries in the organization. Use these IDs with readDocumentText when you need full markdown content from a knowledge page search result.
listLaborUnitTreeBrowse labor-unit libraries by catalog, category, class, and subclass. Use this before repeated listLaborUnits searches so the agent can refine with the library's actual taxonomy instead of guessing terms.
listLaborUnitsList compact labor-productivity candidate units from the labor-unit libraries. Use this when a labour row needs hours/unit, a productivity analog, or a laborUnitId. Returns compact rows (id, code, name, taxonomy, hoursNormal/outputUom, basis kind/match-type) for shortlisting; call getLaborUnit for full sourceRef/metadata once a candidate looks defensible.
listModelTakeoffRecipesList persisted recipes available to this model in Takeoff Studio.
listModelsScan and list model/CAD/BIM assets in the current project. Use this before model takeoff, model QA, model/BOM inspection, or when choosing a 3D file to open in BidWright's model editor.
listPickupsList saved PDF/DWG takeoff annotations so an estimate row can cite or link drawing quantity evidence.
listProjectImagesList raster images uploaded through Documents → Files for the current project. WHEN TO USE: Call this whenever project photos, marked-up screenshots, equipment nameplates, site conditions, sketches, or other JPG/PNG/WebP/GIF files may affect the answer or estimate. These files are separate from ingested source-document PDFs and will not necessarily appear in listDocuments or listDrawingPages. OUTPUT: Project-scoped fileNodeId values, names, folder paths, MIME types, and sizes. Pass fileNodeId to inspectProjectImage to actually see the image. COMMON PITFALLS: - Listing an image is not visual inspection; call inspectProjectImage for every relevant image - Do not infer visual content from the file name - Use listDrawingPages/renderDrawingPage for PDF drawings instead
listProjectSymbolLibraryList every saved symbol template in the project's Symbol Library. WHEN TO USE: Before running runProjectSymbolLibrary, call this to confirm the project has saved templates and inspect them. Useful when the user asks "what symbols can we auto-count?" or "show me the project legend". OUTPUT: Per-template id, symbol token (e.g. "GFI"), label ("Standard duplex receptacle"), threshold, crossScale, enabled flag, sourceDocumentId/sourcePage (where the legend came from), and the lastRun summary when available.
listRateScheduleItemsList imported revision rate schedule items as a compact, paginated search result. Use q/category/scheduleId to find the exact rateScheduleItemId for worksheet rows.
listRateSchedulesList available org-level rate schedules as a compact, paginated index. Use q/category filters to find the schedule to import; this tool intentionally does not dump every rate item.
listScheduleImportCandidatesList already-uploaded project files that Bidwright can import into the native project schedule. This only reports stored project files. It does not upload files and it does not create or price estimate rows.
listScheduleTasksList all schedule tasks and milestones for the project.
matchLaborUnitsMatch a whole work breakdown against the accessible labour libraries in one call (up to 60 lines). Returns three candidates per operation, readable library/table paths, source book/page, hours per output unit, relevance scores and explicit conversion facts. Weak results say no good match. A selected laborUnitId on a row records its labour basis.
measureLinearMeasure a linear distance on a drawing between two points using calibration. WHEN TO USE: After establishing calibration (via detectScale or a known dimension), use this to measure real-world distances between any two points on the drawing. Works for walls, pipes, cable runs, duct lengths, etc. INPUTS: - pointA, pointB: Start and end points in renderDrawingPage image coordinates (pixels) - pixelsPerUnit: Calibration factor — how many pixels equal one real-world unit. Calculate this from the drawing scale (see detectScale) - unit: The real-world unit (ft, in, m, cm, etc.) OUTPUT: pixelDistance (raw pixel distance), realDistance (calibrated real-world distance), and the unit. HOW TO USE: 1. Call detectScale to find the drawing scale 2. Calculate pixelsPerUnit from the scale and DPI 3. Call measureLinear with two points and the calibration COMMON PITFALLS: - Points must be in renderDrawingPage coordinate space - Make sure pixelsPerUnit matches the DPI of the image you measured points from - For angled measurements, the tool calculates the true hypotenuse distance, not just horizontal or vertical - Double-check calibration by measuring a known dimension first (e.g. a labeled wall length)
measureTakeoffCompute calibrated length, polygon area or count, with optional vector snapping. Returns PDF-point geometry; saves nothing.
moveWorksheetMove a worksheet into a folder, or to the top level with folderId=null. This does not change line items.
moveWorksheetFolderMove a worksheet folder under another folder, or to the top level with parentId=null.
previewAssemblyPreview an assembly expansion and resource rollup before inserting it into a worksheet. Use this for assembly-backed scope instead of hand-building all child rows.
promotePdfToDrawingEvidence
promoteSourceDocumentExplicitly ingest a supported FileNode as a SourceDocument. This write copies bytes and can run paid extraction. Existing linked documents are reused. Archives and model formats are not supported here.
queryCadEntitiesQuery CAD handles, block INSERTs, text and geometry; aggregate complete selection in native drawing units.
queryKnowledgeBookSearch the GLOBAL knowledge library — cross-project estimator manuals, productivity handbooks, ASME codes, vendor reference data. Returns text snippets with bookName + sectionTitle + pageNumber. Use for industry-wide labour rates, install methods, code requirements. For THIS project's source PDFs use queryProjectFile; for tabular productivity tables use queryKnowledgeDataset; for catalogs/cost-intel/labor-units/rates/assemblies use queryLibrary.
queryKnowledgeDatasetSearch structured knowledge datasets for precise values — man hours, material weights, labour rates, equipment specs, productivity-by-condition tables. Discover with query, then use datasetId plus typed filters for exact numeric/keyed rows. Returns matching datasets with context (description, tags, notes) and rows. Use for concrete tabular numbers. For prose / handbook chapters use queryKnowledgeBook; for project documents use queryProjectFile; for catalogs/cost-intel/labor-units/rates/assemblies use queryLibrary.
queryLibrarySingle ranked search across the org library: catalog items (priced SKUs), imported rate-schedule items, cost-intelligence effective costs + cost resources (prior-job pricing), labor units (productivity), assemblies, and provider actions. Backed by the same `LineItemSearchDocument` index the worksheet line-item dropdown uses, so improvements here improve the UI too. Returns compact candidates with structural IDs (catalogId/itemId, rateScheduleItemId, costResourceId/effectiveCostId, laborUnitId, assemblyId) ready to plumb into createWorksheetItem. **Pass `category` (e.g. 'Labour', 'Material', 'Equipment', 'Subcontractor') whenever you know what kind of row you're pricing — it gives a +4 score boost to matching source-types and dramatically improves ranking.** For prose handbook chapters use queryKnowledgeBook; for tabular productivity tables use queryKnowledgeDataset; for project documents use queryProjectFile.
queryModelElementsQuery persisted model elements by class/type/material/level/system/name/text. This tool returns only extracted data. It does not infer or fabricate model elements.
queryModelTakeoffGroupsQuery the same persisted model topology used by Bidwright Takeoff Studio. Returns authored and inferred systems, connected runs, networks, and estimator-facing rollups with member object ids, measurement type, quantity, unit, confidence, warnings, and hierarchy. Use this instead of inventing groupings from a truncated element list.
queryProjectFileSearch THIS project's source documents (RFQ, specs, drawings, vendor sheets, BOMs/parts lists) in one call — full extracted text + Azure structured tables (markdown) + key-value pairs. Returns ranked hits with documentId, pageNumber/caption when available, and a ≤360-char snippet. Use BEFORE looping readDocumentText/getDocumentStructured to find which document/page/table mentions a phrase. For cross-project estimator manuals use queryKnowledgeBook; for tabular productivity tables use queryKnowledgeDataset; for catalog/cost-intel/labor/rates use queryLibrary.
readDocumentTextRead extracted text for a project document, knowledge book, or manually-authored knowledge page library by ID. Use IDs from the project manifest, listKnowledgeBooks, or listKnowledgeDocuments. For spreadsheets, use readSpreadsheet instead. For table-heavy PDFs, pair this with getDocumentStructured.
readDrawingPageRead an upright drawing-page image with viewId, rotation, layout regions, tile grid and positioned text. All returned boxes use normalized 0..1 coordinates in the returned image frame (x right, y down). Concise metadata includes up to 40 text lines; fullText returns all lines, and responseFormat=detailed returns full metadata. readDrawingTile provides a closer view of a region or tile.
readDrawingTileRead a sharp drawing tile by grid id or bbox from readDrawingPage. Input bbox uses normalized 0..1 coordinates in that overview image frame; returned boxes use normalized coordinates in this tile image. Returns an image, viewId and positioned text. Concise metadata includes up to 80 text lines; detailed returns full metadata.
readKnowledgePassageRead a reference-book passage plus neighboring chunks, preserving source headings, table text, units and page numbers. Use the bookId and id from queryKnowledgeBook or searchEstimatingKnowledge. Works even when historical OCR has no page number.
readMemoryRead the persistent agent memory for this project. Contains notes, progress tracking, decisions from prior sessions. Always check this at the start of a session.
readSpreadsheetRead an xlsx/xls/csv spreadsheet and return its contents as markdown tables. Use this for ANY spreadsheet document — Claude Code cannot natively parse binary xlsx files. Returns all sheets (or a specific sheet) as readable markdown tables with headers.
rebuildModelTopologyRebuild the model topology used by Takeoff Studio from persisted elements and recipes.
recalculateTotals
recommendCostSourceReturn the best structured cost source for a scope phrase and a ready-to-use worksheet item patch. Prefer this over freeform prices.
recommendEstimateBasisFind the best source basis for an estimate row: exact cost intelligence when available, similar vendor/product context when useful, labor productivity units, and existing takeoff annotations. Useful before creating or updating priced worksheet rows.
recomputeEstimateBenchmarksCompute historical benchmark comparisons from prior human quotes in the organization. Only call this if organization benchmarking is enabled (workspace.meta.benchmarkingEnabled === true); otherwise it is a no-op and you should rely on document/spec/library evidence instead.
renderCadDrawingRender CAD lines, arcs, polylines and text as a PNG with a viewId and drawing-coordinate transform.
renderDrawingPageRender a drawing page in its native orientation at the requested DPI. Returns imageWidth/imageHeight, PDF page dimensions, and viewId. Bounding boxes for zoomDrawingRegion and countSymbols use this image's pixel coordinates. readDrawingPage offers an upright overview with normalized coordinates and text metadata.
renderTakeoffOverlayRender the native PDF and saved pickup overlay as two images, with pickup ids, quantities and source references. Region uses the declared input coordinate space.
reportProgressReport progress to the user interface. Use this to communicate what you're doing — the user sees these updates in real-time in the AI drawer.
requestEstimateReviewOptional fresh-context advisory review of the current draft: quantity spot-checks, document scope coverage, traceability, labour basis, pricing integrity and commercial clarity. Starts a separate review (up to ten minutes; at most two per estimating run), leaving estimate rows unchanged. Returns a reviewId; poll with that id to read findings without launching another review. The estimator can revise after reading the findings; completion never depends on this review.
runPhotoBomRead a proposed bill of materials from project image files or source documents. Does not save pickups or worksheet rows.
runProjectSymbolLibraryCount saved project symbol templates on one page or every document page. Uses each template’s threshold and crossScale settings. Returns per-template counts and matchSetId references for saveCountAsAnnotations; concise returns counts and references only, detailed includes all matches. Match rectangles use each template result’s imageWidth/imageHeight pixel frame. Counting is read-only.
saveCadEntityTakeoffSave selected CAD handles as pickups; reuse existing pickups unchanged and optionally link them to a worksheet item.
saveCountAsAnnotationsSave count results as one grouped Pickup with N points and quantity N. Matches are in the unrotated detector image's pixel frame (imageWidth/imageHeight from countSymbols). Per-point detection metadata is preserved. A matchSetId from runProjectSymbolLibrary saves its full result without copying rectangles; references last for this MCP session (up to 20 runs / 100,000 matches; the latest run stays intact). Returns the saved pickup id for linking.
saveDetectionsAsTakeoffMarksPersist reviewed drawing-intelligence detections as normal Bidwright takeoff marks. WHEN TO USE: After analyzeDrawingGeometry or traceDrawingSystems returns detections and you have reviewed/selected the ones to keep. This creates Pickup rows so the user can see, edit, group, and link them to worksheet items. INPUT DETECTION SHAPES: - Linear detection: {id, kind:"line", label, points:[{x,y},{x,y}], measurement?} - Count detection: {id, kind:"symbol"|"circle"|"device", label, points:[{x,y}], measurement:{value:1,unit:"count"}} - System segment: save each accepted segment as a linear detection under a shared groupName COMMON PITFALLS: Do not save every raw detection automatically. Save accepted detections with descriptive labels and groups.
saveDrawingEvidenceClaim
saveEstimateAdjustmentsRecord how benchmark findings should adjust the estimate approach. Use this to document which areas to keep, raise, lower, regroup, or convert to allowance/subcontract.
saveEstimateAssumptionsPersist explicit assumptions with confidence, evidence, impact, and confirmation needs.
saveEstimateExecutionPlanPersist the execution model before detailed pricing. Capture self-perform/subcontract choices, access, crew strategy, duration basis, procurement, testing basis, and uncertainty flags.
saveEstimatePackagePlan
saveEstimateReconcilePersist a final self-review: omissions, outliers, duplicate scope, final confidence, optional reviewDispositions for independent findings, and optional coverageChecks listing contractor-responsible packages and where each is covered (coveredBy.packageId / worksheetIds / assumptionId).
saveEstimateScopeGraph
saveEstimateStrategyStages
savePipingTakeoffSave selected piping MTO lines as Pickups, optionally linking worksheet rows. Reads current source quantities; optional checksum detects changed sources. Unit conversion is explicit.
saveReviewCompetitivenessSave competitiveness analysis — overestimates, underestimates, and productivity benchmarking data.
saveReviewCoverageSave scope coverage analysis — maps each spec requirement to whether it's covered in the estimate. Call this once with ALL coverage items.
saveReviewFindingsSave gaps and risks identified in the review — issues that need attention before quote submission.
saveReviewRecommendationSave a single actionable recommendation. Call this once for EACH recommendation. Include resolution actions that specify exactly what quote changes to make.
saveReviewSummarySave the executive summary of the review. Call this LAST after all other review sections are saved.
saveSourceQuantityTakeoffSave an authored BOM, schedule or document-table quantity as a visible pickup with source references; optionally link it to a worksheet item. Returns the saved pickup and any linkError. Batch example (one call per line): save {"documentId":"doc-bom","quantity":317,"unit":"LF","label":"3-inch pipe","sourceRefs":[{"sheet":"BOM","row":6}]}, then {"documentId":"doc-bom","quantity":43,"unit":"EA","label":"Valves","sourceRefs":[{"sheet":"BOM","row":7}]}. Once the matching worksheet rows exist, repeat each identical call with linkToItemId set to that row ID, quantityField: value and multiplier: 1. The existing pickup is reused and linked once. For unlike units, supply the explicit conversion multiplier; a linkError means the pickup exists but is not linked.
saveTakeoffMeasurementSave measured geometry as an editable Pickup. comparisonGroup remains unlinked unless linkToItemId is supplied. Points use the declared input space.
scanDrawingSymbolsScan a drawing page to discover repeating symbol candidates automatically. Returns a compact structured inventory of candidate clusters with counts and locations. WHEN TO USE: Use this only after renderDrawingPage/zoomDrawingRegion has shown that a specific drawing sheet is symbol-heavy and the quantity question depends on small repeated symbols. Do NOT use it as a general page overview, and do NOT run it once on a random drawing just to satisfy a workflow checkbox. For precise counts, prefer countSymbols with a tight representative bounding box around one clean symbol. INPUTS: - documentId: Document ID from listDrawingPages - pageNumber: Page to scan (1-based, default 1) - maxClusters: Limit returned clusters. Default 20 keeps responses small. - includeImage: Default false. Avoid true unless a human-visible image is essential; prefer renderDrawingPage + zoomDrawingRegion for visual inspection. OUTPUT: A structured inventory with: - clusters: Array of symbol types found, each containing: - id: Cluster identifier - sizeCategory: "small", "medium", or "large" - avgDimensions: Average width and height of symbols in this cluster - matchCount: How many instances of this symbol were found on the page - avgConfidence: Average template matching confidence (0-1) - representativeBox: Bounding box of the best example (use as bbox for countSymbols if you need to refine) - topMatches: Up to 3 match locations with coordinates and confidence - imageWidth, imageHeight: The coordinate space (150 DPI) — use these if you call countSymbols to refine - totalClusters: Number of distinct symbol types found - totalSymbolsFound: Total symbol instances across all clusters WORKFLOW: 1. Choose a relevant sheet/page based on the scope question. 2. Call renderDrawingPage and targeted zoomDrawingRegion first so you understand the visual context and the symbol/region you are trying to count. 3. Use this tool only as optional discovery on the already-relevant sheet; interpret clusters cautiously. 4. If a cluster matches the specific symbol, refine with countSymbols using the representativeBox or a tighter box from renderDrawingPage coordinates. 5. Do not treat this tool as proof of visual takeoff by itself; visual takeoff proof comes from rendered-page inspection plus targeted zooms. Avg scan time 2-5 seconds per page.
searchBookPagesLocate a phrase in the original reference PDF and return actual physical page numbers and text. Use when a historical book-search hit has no page number, or to locate a table/footnote before viewing it with getBookPage. Searches embedded PDF text locally; scanned pages without a text layer cannot match here.
searchCatalogsSearch the equipment and material catalogs for items with pricing. Returns catalog items with name, code, unit, unitCost, unitPrice.
searchDrawingRegions
searchEstimatingKnowledgeSearch labour productivity units, PDF reference-book passages and structured datasets together. Use an operation + material + size/condition. Returns independent ranked shortlists with IDs, units and source context; book prose and dataset samples are not interchangeable rates. Drill into getLaborUnit, readKnowledgePassage, or queryKnowledgeDataset with exact filters.
searchItemsSearch existing line items across all worksheets. Returns compact paginated summaries; use a focused query/category/worksheetId for detail. Each row carries `units` = the resolved labour hours / equipment duration for that row, broken down by the ratebook's own tier names. Read hours from `units.total` and `units.tiers`; `quantity` is a multiplier (commonly 1), NOT the hour count, and hours must never be inferred by dividing cost by an assumed rate.
segmentPointCloudSegment a scan into persisted model elements and quantities, or identify existing segments from project photos. Segmentation replaces prior detections and detaches their pickup references.
setTakeoffCalibrationSave a scale from two points and a known distance. Region uses the same coordinate space as points. Existing human scales require explicit replaceHuman.
traceDrawingRunTrace connected PDF vector linework from a seed. Returns PDF-point paths, lengths, branches and stop reasons; saves nothing.
traceDrawingSystemsTrace connected linear systems/runs from drawing linework. WHEN TO USE: Use this for pipe runs, conduit/cable tray paths, ducts, civil utilities, structural member runs, or any connected linear takeoff. This is intentionally generic; choose the preset that best matches the trade, then review the overlay/coordinates before saving. OUTPUT: Candidate systems with segment IDs, total length in pixels, inferred topology counts (open ends, elbows, tees, crosses), confidence, and warnings.
updateALIUpdate an existing additional line item. Only provided fields are changed.
updateConditionUpdate an existing quote condition by its getConditions ID.
updateEstimateFactorUpdate an estimate productivity factor. Use this to refine scope, multiplier, evidence, confidence, active state, or source references.
updateEstimateFactorLibraryEntryUpdate an editable organization factor library entry. Factory research presets are returned by the library listing as templates; organization entries are fully editable.
updateModifierUpdate an existing modifier. Only provided fields are changed.
updatePdfPreferencesUpdate PDF layout preferences for this quote. Supports partial updates. Available keys: - sections: { coverPage, scopeOfWork, leadLetter, lineItems, phases, modifiers, conditions, hoursSummary, labourSummary, notes, reportSections } (all boolean) - sectionOrder: array of section keys controlling display order - lineItemOptions: { showCostColumn, showMarkupColumn, groupBy: none/phase/worksheet } - branding: { accentColor: hex, headerBgColor: hex, fontFamily: sans/serif/mono } - pageSetup: { orientation: portrait/landscape, pageSize: letter/a4/legal } - coverPageOptions: { companyName, tagline, logoUrl } - headerFooter: { showHeader, showFooter, headerText, footerText, showPageNumbers } - customSections: array of { id, title, content, order } - activeTemplate: standard/detailed/summary/client
updateQuoteUpdate the quote metadata and save the customer-facing front-of-quote introduction in Setup → General → Description / Scope of Work. Write a substantive paragraph for a small job, multiple paragraphs for larger work, and up to about a page for a complex project, grounded in the saved estimate and agreed commercial scope. Replace seeded placeholders; preserve substantive human wording. The description supports HTML, or plain text with newlines auto-converted to paragraphs. Read getWorkspace.revision.description to verify it was saved. Use updateRevision.scratchpad for internal estimator notes or scratch work.
updateReportSectionUpdate a report section. Only provided fields are changed.
updateRevisionUpdate revision-level settings — breakout style, dates, status, quote type, print options, customer-facing notes, internal scratchpad, and more. Use this to configure how the quote is presented to the client.
updateSummaryRowUpdate an existing summary row. Only provided fields are changed.
updateTakeoffMeasurementEdit saved PDF geometry or labels and recompute linked quantities. Human pickups require explicit editHuman.
updateWorksheetFolderRename or move a worksheet folder.
updateWorksheetItemUpdate an existing line item. Only provided fields are changed. When re-pointing an item at a different rate-schedule item (e.g. swapping MECH labour for SHOP labour), pass BOTH rateScheduleItemId AND tierUnits in the same call — the server keeps the previously persisted tierUnits otherwise, leaving stale tier IDs that price to $0.
verifyDrawingEvidenceLedger
webSearchSearch the public web for current, real-world information: material and component prices, vendor availability, product specs, codes/standards, industry news. Use when the project documents, knowledge base, and rate schedules cannot answer — e.g. casual questions like 'what does a 3" pipe U-bolt cost'. Returns a concise, sourced answer with URLs. Read-only.
writeMemoryWrite to the persistent agent memory. Use sections to organize: scope_plan, progress, decisions, worksheets_created, etc. This persists across sessions.
zoomDrawingRegionCompatibility wrapper for a native-orientation drawing crop at 300 DPI. region uses pixel coordinates from renderDrawingPage with its imageWidth/imageHeight. Returns zoomedWidth/zoomedHeight, originalRegion and viewId. The crop dimensions do not change the source coordinate frame for countSymbols.

Security checks

6 checks have not been run yet.

Questions

About Bidwright

How do I install Bidwright?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Bidwright safe to use with an AI agent?

Its trust score is 55 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Bidwright still maintained?

Yes — the last commit was 28 days ago. The repository has 84 stars and 24 forks.

What tools does Bidwright provide?

Conduid read 188 tools from the source: addModelTakeoffGroupToWorksheet, addSourceToDrawingAtlas, aggregateModelElements, analyzeDrawingGeometry, applyModelTakeoffRecipe, applySummaryPreset, askUser, batchEditWorksheetItems and 180 more.