cache_design_with_source
Cache STL/3MF files with OpenSCAD source code and generation prompts to enable later regeneration or modification of 3D designs.
Instructions
Cache a design file alongside its parametric source code.
Stores the STL/3MF file in the design cache and attaches the
OpenSCAD source code and generation prompt so the design can
be re-generated or tweaked later.
Args:
file_path: Path to the design file (STL, 3MF, etc.).
scad_source: OpenSCAD source code that produced this file.
generation_prompt: The prompt used to generate the design.
provider: Generation provider name (e.g. "openscad", "gemini").
tags: Optional tags for search.
filament_type: Material type (e.g. "PLA", "PETG").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| provider | No | openscad | |
| file_path | Yes | ||
| scad_source | Yes | ||
| filament_type | No | ||
| generation_prompt | No |