get_design_template_info
Retrieve a design template by ID from either library and identify its type. Parametric parts return parameters, defaults, and units for generation; design patterns return use cases and print guidance.
Instructions
Look up one design template by id — parametric part or pattern.
Resolves an id from EITHER library and says which it came
from, so a caller never has to know in advance:
* a PARAMETRIC PART (``generatable: true``) comes back with
its full parameter list — names, defaults, and units — which
is what you need to fill in the user's own dimensions and
call ``generate_from_template``.
* a DESIGN PATTERN (``generatable: false``) comes back with
its use cases, material compatibility, and print
orientation. Patterns are guidance for OpenSCAD you write
yourself; ``generate_from_template`` does not accept them.
Args:
template: Template identifier, from either library —
e.g. "shelf_bracket" (part) or "snap_fit_cantilever"
(pattern). Use ``find_design_templates`` to search.
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": {
"template": "<template>"
},
"name": "get_design_template_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | Template identifier, from either library — e.g. "shelf_bracket" (part) or "snap_fit_cantilever" (pattern). Use ``find_design_templates`` to search. |