create_netlist
Create a SPICE netlist file from provided content, automatically appending .END if missing. Supports subdirectories and optional overwrite.
Instructions
Create a new SPICE netlist file from content string. Automatically appends .END if missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name without extension (.cir is appended). May include a relative subpath, e.g. 'work/rc/rc_lowpass' — it is resolved under the server working directory and parent directories are created automatically. Must stay within an allowed path ('..' is rejected). | |
| content | Yes | Complete SPICE netlist content | |
| overwrite | No | Overwrite an existing file at this path. Default is to refuse. |