Ändra terräng stegvis
edit_site_terrainPropose one step of terrain editing on a saved design (#574): put is an object {contours: [...], spotHeights: [...]} that adds or modifies records by id ({id, z, points} and {id, point: [x, y, z]}, metres, same system as get_design_summary site.terrain), remove deletes ids, source optionally relabels the whole terrain measured or schematic. surface replaces the whole 3D surface (compact grid, explicit mesh or shipped reference); surface:null removes it; omit surface to preserve it exactly. Every other contour and spot height stays exactly as saved; nothing is moved automatically. The plot and height reference are unchanged; change them with set_site_terrain. Same format checks and approval as set_site_terrain; removing or replacing elements is destructive and the user confirms it.
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>"
},
"name": "edit_site_terrain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| put | No | ||
| remove | No | Ids of contours or spot heights to delete. | |
| source | No | measured: from a survey or map, never moved automatically. schematic: interpreted or designed terrain. | |
| summary | No | Optional one-sentence description of the proposal, shown to the user. | |
| surface | No | Replace the whole 3D surface; null removes it. Omit to preserve the saved surface exactly. | |
| designId | Yes | designId from list_designs. |