Set Parameter
set_parameterAdds or replaces a .param directive in an LTspice schematic, letting you define or update parameter values for simulation runs.
Instructions
Add or replace a .param directive.
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>",
"name": "<name>",
"value": "<value>"
},
"name": "set_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| schematic_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |