Set Component Parameters
set_component_parametersSet SpiceLine attributes on an LTspice component by reference to define custom simulation parameters in an .asc schematic.
Instructions
Set SpiceLine attributes.
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_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. |