Design a piece of furniture
Start from a preset, change it to the customer's sizes, check it and draw it
A piece is anything made of 18 mm board: a sideboard, a desk, a bookcase, a bed. The engine reads a strict JSON spec. You start from the nearest preset, change it, and check it until it passes. The design_piece prompt starts the same conversation in one command.
The calls
Start from a preset
The answer carries the spec and what the engine computed from it. The presets are listed in the tool's schema.
{
"preset": "sideboard"
}Change it and check it
The customer wants it 2000 mm wide. Change the spec and send the whole spec back.
{
"spec": {
"name": "Dining room sideboard",
"base": "legs",
"handles": "bar",
"top": {
"t": 18
},
"boxes": [
{
"w": 2000,
"h": 700,
"d": 450,
"top": "panel",
"columns": [
{
"zones": [
{
"kind": "doors",
"shelves": 1
}
]
},
{
"zones": [
{
"kind": "drawers",
"count": 3
}
]
},
{
"zones": [
{
"kind": "doors",
"shelves": 1
}
]
}
]
}
]
}
}Unknown fields are errors
Nothing a customer asked for is dropped silently. Send a field the engine does not know and it names the ones it does:
{
"ok": false,
"errors": [
"spec.colour is not a field here. Fields: name, boxes, frames, base, baseH, fronts, handles, grain, fitted, top, panels, t, notes, legs. Put what the spec cannot say in \"notes\"."
],
"say": "The spec needs a correction: spec.colour is not a field here. Fields: name, boxes, frames, base, baseH, fronts, handles, grain, fitted, top, panels, t, notes, legs. Put what the spec cannot say in \"notes\"."
}Put what the spec cannot say, such as a colour, in the brief of the request link. Look up materials by what they are with materials_list.
Describe it and draw it
Dining room sideboard, 2000 mm wide, 868 mm high and 450 mm deep, made to your sizes from 18 mm board, with 2 doors, 1 shelf, 3 drawers, 2 doors, 1 shelf.
Estimate
Call estimate_get with { "design": { "kind": "piece", "spec": … } }. It answers the same way for every family: grouped totals, or blocked with each missing rate named.
Hand over
When the customer is happy, call request_link with the design and a brief in their own words. Leave names and contact details out. Give them the link as it is. They add how to reach them on ajusteur.com and send. Ajusteur reviews the design, visits, measures and sends a quote.
{
"design": "…the design from the step before, unchanged…",
"brief": "What the customer told you about the room, the need and the timing."
}