update_model
Update an existing OpenSCAD model file with new source code. Specify the file name and content to overwrite the model's current code.
Instructions
Update an existing OpenSCAD model file with new content.
The file must already exist. Use create_model to create new files.
Args: name: File name of the model to update content: New OpenSCAD source code for the model workspace: Directory containing the model. Defaults to the configured temp_dir/models directory. ctx: MCP context for logging
Returns: Dict with success status, path, and name of the updated file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| content | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||