Set Subcircuit Component Parameters
set_subcircuit_component_parametersSet a component's SpiceLine in an LTspice subcircuit schematic by providing the .asc path and reference; this updates subcircuit parameters without manual file edits.
Instructions
Set SpiceLine on a component inside a schematic subcircuit file.
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": {
"schematic_path": "<schematic_path>",
"reference": "<reference>",
"spice_line": "<spice_line>"
},
"name": "set_subcircuit_component_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| spice_line | Yes | ||
| spice_line2 | No | ||
| schematic_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |