parameter
Manage .PARAM directives in LTspice circuit files: read values, set a named value, or delete an existing one by name.
Instructions
Read, write, or delete .PARAM directive values in a circuit file. Pass delete=true with name to remove a parameter (the inverse of setting one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Parameter name to set (omit to read all params) | |
| path | Yes | Path to circuit file (.cir, .net, or .asc) | |
| value | No | Parameter value (required when name is specified) | |
| delete | No | Delete the named .PARAM (the inverse of setting one). Requires ``name`` and is mutually exclusive with ``value``. Matches by name, so a just-added parameter can be removed even after the value/case was reformatted on write. | |
| format | No | Response format: 'json' for structured data, 'text' for human-readable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No |