update_model
Modify a tactile-terrain model's specification and rebuild it using JSON merge-patches or shortcuts; invalid changes leave the model untouched.
Instructions
Change a model and rebuild it. changes is a JSON merge-patch of the spec, plus the shortcuts z_multiply (factor), crop_percent ({north|south|east|west: percent}), drop_feature (type) and revert_to (earlier version number). Reports each change as before to after. An invalid change leaves the model untouched.
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": {
"name": "<name>",
"changes": "<changes>"
},
"name": "update_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| changes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |