Add Hierarchical Block
add_hierarchical_blockCreate a child sheet with In/Out pins and place it on the parent schematic, enabling hierarchical blocks in LTspice.
Instructions
Create a child sheet with In/Out pins and place it on the parent.
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>",
"block_name": "<block_name>",
"reference": "<reference>"
},
"name": "add_hierarchical_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| reference | Yes | ||
| block_name | Yes | ||
| schematic_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |