parameter
Read or modify parameter values in LTspice circuit files. Specify a parameter name and value to update, or omit to list all parameters.
Instructions
Read or write .PARAM directive values in a circuit 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": {
"path": "<path>"
},
"name": "parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to circuit file (.cir, .net, or .asc) | |
| name | No | Parameter name to set (omit to read all params) | |
| value | No | Parameter value (required when name is specified) | |
| format | No | Response format: 'json' for structured data, 'text' for human-readable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No |