draft_library_assemblies
Draft quantity recipes from an attached file, mapping components to existing cost book items and validating each draft so an estimator reviews it before anything is added.
Instructions
Draft company assemblies (quantity recipes) from an attached file: each {name, trade, measure_kind (area|linear|count|each|volume), components: [{item, unit, role (finish|adhesive|prep|trim|labor|sundry...), basis (area_sf|perimeter_lf|wall_sf|count|volume_cy|manual|formula), coverage (basis units per purchase unit), waste_pct (fraction), manual_qty, qty_formula, cost_item_ref, productivity_ref}], params}. Components point at EXISTING cost book items or productivity rates by id (read_costbook_records), so import those first. Use only quantities the file states; ask about anything missing. The shared validator checks every draft; nothing is added until the person adds it from the chat. Lands as pencil (pending the estimator's review), never ink.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intake_id": "<intake_id>",
"assemblies": "<assemblies>"
},
"name": "draft_library_assemblies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intake_id | Yes | ||
| assemblies | Yes | ||
| explanation | No |