Prepare Ac
prepare_acInsert an AC analysis directive into an LTspice schematic to define frequency sweep parameters for simulation.
Instructions
Insert a .ac 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": "prepare_ac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| f_end | No | ||
| sweep | No | ||
| points | No | ||
| f_start | No | ||
| schematic_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |