Measure Stability Margins
measure_stability_marginsCalculate gain and phase margins from an LTspice .raw simulation against a reference, then save the results to a specified output file.
Instructions
Gain and phase margins.
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": {
"raw_path": "<raw_path>",
"output": "<output>",
"reference": "<reference>"
},
"name": "measure_stability_margins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| raw_path | Yes | ||
| reference | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |