sch_instantiate_template
Returns a structured action plan to instantiate a subcircuit template, including symbols, connections, and part-search steps. Use the plan to guide schematic edits.
Instructions
Instantiate a subcircuit template — returns a structured action plan.
This tool returns a structured plan describing the symbols, connections, and part-search steps needed to add the subcircuit to the schematic. It does NOT directly edit the schematic (use the plan as a guide for calling sch_add_symbol, sch_add_wire, lib_recommend_part, etc.).
Args:
template_name: Template name (from sch_list_templates()).
prefix: Reference prefix applied to all template refs (e.g. "PWR_"
produces PWR_U1, PWR_L1, etc.).
params: Dict of parameter overrides (e.g. {"vout_v": 5.0}).
Returns: Step-by-step instantiation plan in markdown format.
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_name": "<template_name>"
},
"name": "sch_instantiate_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| prefix | No | ||
| template_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |