Read Subcircuit
read_subcircuitRetrieve a .subckt body or hierarchical sheet from an LTspice schematic so you can inspect or reuse its contents.
Instructions
Return one .subckt body or a hierarchical sheet.
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": {
"source_path": "<source_path>",
"name": "<name>"
},
"name": "read_subcircuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |