Föreslå ny ritning
create_designPropose a NEW design from the published catalog (list_templates or resource ritabygget://templates). Nothing is created until the user approves it in Ritabygget: the proposal appears in their open editor and through the returned link, and Godkänn creates the design and saves revision 1. Optional changes (at most 6, one area, typically the basics: shed.dimensions.set, shed.building-use.change) are applied on top of the template. The new design is the frame only: dimensions, roof, walls and foundation WITHOUT the template's doors and windows, which you add afterwards with propose_changes (all walls' doors and windows may share one step, at most 6 changes); opening and site actions in changes are rejected (set keepTemplateOpenings only when the drawing's openings match the template's). Propose the plot separately after approval. Only one new-design proposal can wait at a time. Poll get_proposal_status: once approved, its designId is the new design; then build it step by step with propose_changes.
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": {
"templateId": "<templateId>",
"name": "<name>"
},
"name": "create_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new design. | |
| changes | No | ||
| summary | No | Optional one-sentence description, shown to the user. | |
| templateId | Yes | An id from the current published catalog: call list_templates or read ritabygget://templates first. New templates become available after their repository release is deployed; administrative candidates are excluded. Do not use a construction-recipe id unless it is also present in the catalog. | |
| keepTemplateOpenings | No | Keep the template's doors and windows. Default false: the design starts without openings. |