Create net flag
easyeda_schematic_create_net_flagCreate a named EasyEDA schematic net label or power/ground flag: set identification to bind VCC/GND symbols to a coincident pin, or omit it for a generic label connected via wire stubs.
Instructions
Create a named net flag/label. With identification (Power/Ground/AnalogGround/ProtectGround) it places a power-flag symbol binding to a coincident pin (use for VCC/GND). Without it, a generic net label — cosmetic only; connect pins with add_wire stubs sharing one netName.
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": {
"projectId": "<projectId>",
"netName": "<netName>",
"x": "<x>",
"y": "<y>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_create_net_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate on the schematic canvas | |
| y | Yes | Y coordinate on the schematic canvas | |
| netName | Yes | The net name to assign (e.g. VCC, GND, TEST_NET) | |
| rotation | No | Rotation in degrees (0, 90, 180, 270) | |
| projectId | Yes | The project/schematic ID | |
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| identification | No | Power-flag identification. When set, places an EasyEDA power/ground flag symbol of this type. When omitted, places a generic named net label instead. | |
| expectedPcbUuid | No | Expected focused PCB document UUID; reject a different focused PCB before a write. | |
| expectedSchematicPageUuid | No | Expected focused schematic page UUID; reject a different focused page before a write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||