Recalculate plan
recalc_planSets or changes the rooms of an already shown plan — names, area_m2 or length_m × width_m, floor type, bathroom (wet), level, ceiling height — stores them with the plan and recalculates material quantities and labour (manual quantities are kept). Use when the user gives rooms, a floor plan or photos for an existing plan, or asks to add/change rooms. view_id from show_renovation_plan / open_plan. Send the FULL room list (it replaces the old one). save_only: true stores rooms without recalculating. The updated plan is shown to the user.
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": {
"view_id": "<view_id>",
"rooms": "<rooms>"
},
"name": "recalc_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | Yes | ||
| view_id | Yes | ||
| height_m | No | ||
| save_only | No | Only store rooms, no recalculation | |
| total_area_m2 | No |