add_net_label
Add a net label or ground flag to a wire junction on an LTspice .asc schematic at specified coordinates or a component pin. Supports both adding and removing net labels.
Instructions
Add a net label or ground flag to an .asc schematic at a wire junction.
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": {
"path": "<path>",
"net": "<net>"
},
"name": "add_net_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| net | Yes | Net name ('0' for ground, or a name like 'VDD', 'outp') | |
| x | No | X coordinate (required unless pin is specified) | |
| y | No | Y coordinate (required unless pin is specified) | |
| pin | No | Component pin reference (e.g., 'M3.S') — places label at the pin's coordinates | |
| action | No | add |