Föreslå ändringar
propose_changesPropose one step for a saved shed: at most 6 changes in ONE area: basics (shed.template.match, shed.carport.set, shed.dimensions.set, shed.name.set, shed.building-use.change), roof (shed.roof.change), structure (shed.foundation.change, shed.interior-floor.set, shed.wall-assembly.change, shed.framing.change), finish (shed.finish.change), interior (shed.interior-finish.set), floor-plan (shed.intermediate-floor.set replaces the platform floor and its optional upper storey; shed.loft.set changes loft and support wall in one atomic proposal; shed.floor-plan.set replaces the ground-storey interior plan; shed.floor-plan.wall.add, shed.floor-plan.wall.update, shed.floor-plan.wall.remove, shed.floor-plan.door.add, shed.floor-plan.door.update, shed.floor-plan.door.remove, shed.floor-plan.room.add, shed.floor-plan.room.update, shed.floor-plan.room.remove, shed.floor-plan.furniture.add, shed.floor-plan.furniture.update, shed.floor-plan.furniture.remove change one interior object by id), site (shed.site.labels.set: saved visibility of Fram / entré; existing-building.add/update accept showLabel=false to hide only that footprint label; shed.site.boundary.set: the complete local plot; shed.site.boundary.metadata.set: source/assumptions only, omitted fields retained and empty strings cleared; shed.placement.set: local origin, counterclockwise rotation or structural floor level (floorElevationMm locally or absoluteFloorElevationMm with an absolute reference, never both); shed.site.existing-building.add, shed.site.existing-building.update, shed.site.existing-building.remove: labelled flat context polygons in the same local coordinates; shed.site.dotted-area.add and shed.site.dotted-area.update use area with an id, an optional label and the complete local polygon; shed.site.dotted-area.remove uses id; shed.site.landscape.set replaces all landscape features with one collection in local millimetres; terrain and its height reference only through set_site_terrain and edit_site_terrain), openings (shed.opening., shed.openings.distribute; doors and windows on one or more walls in the same proposal, but each distribute covers one wall). Only one proposal per design can wait for the user at a time; after proposing, wait until get_proposal_status says approved (or rejected) before proposing the next step. The canonical planner validates it without applying it: the user reviews and approves it on Ritabygget, in the open editor or through the returned link. If the planner needs a construction choice the result has structuredContent.status "needs-choice" with choices; propose again with the chosen choice's changes. Target an existing opening with target {"id": ...} (shed.opening.remove removes it; a ref added in the same set can't be removed); name a new one with ref to target it later in the same change set. Lengths are millimetres. The result describes the planned outcome (type, size, wall, centerOffsetMm, sill) in steps and structuredContent.openings (every opening of the result, change added/changed/unchanged/removed), and the warnings this change causes or touches in structuredContent.warnings; floor-plan changes also return structuredContent.floorPlan with counts, room names and usable areas in areaMm2. structuredContent.preview is the structured geometry of the RESULT (#540): exterior walls with plan start/end, length and height, interior walls, openings per wall as seen from outside (corner distances, visualCenterMm, bottom/top, door type) and, with an own plot, the facade/roof outline with distances to every plot side; check placement against it before giving the link. Site changes return structuredContent.site with the complete plot, landscape, reference, contours, spot heights, terrain source, the terrain in the agreed metre format (site.terrain) and local/absolute levels. Use only supplied levels. Local uses datum 0, absolute requires the stated system and datum. A complete plot boundary is one change. Use set_site_terrain or edit_site_terrain for terrain, contours and their height reference. Plot and terrain proposals are separate from building changes. Its before/after is read-only in the GUI: corrections go through MCP after resolving the pending proposal. The original drawing stays in your AI environment, never uploaded to Ritabygget. Check the result against the request before giving the user the link.
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": {
"designId": "<designId>",
"changes": "<changes>"
},
"name": "propose_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| summary | No | Optional one-sentence description of the proposal, shown to the user. | |
| designId | Yes | designId from list_designs. | |
| baseRevision | No | Required for shed.site.landscape.set. Copy revision from the saved design read, at the same level as designId and changes. |