save_pattern
Store a reusable modeling pattern after a non-trivial approach succeeds, so you can recall it later with its name, description, code, and tags.
Instructions
Store a reusable modeling pattern for later recall; call this after a non-trivial approach worked.
Args:
name: Short 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.
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>",
"description": "<description>"
},
"name": "save_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| name | Yes | ||
| tags | No | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |