save_pattern
Store a working modeling approach as a reusable pattern with name, description, optional code, and tags. Build a searchable memory of successful FreeCAD workflows.
Instructions
Store a reusable modeling pattern (code snippet or workflow) into the pattern memory. Call this after a non-trivial approach worked.
Knowledge hierarchy: ① your own knowledge first → ② recall_patterns when
unsure → ③ inspect_freecad for API details. Successful new approaches
should be stored back here.
Args:
name: Short pattern name (e.g. "flanged pipe via loft").
description: What it does and when to use it.
code: Optional Python snippet that implements it.
tags: Retrieval tags.
Returns:
The stored pattern_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| name | Yes | ||
| tags | No | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |