Create net port
easyeda_schematic_create_net_portPlace a hierarchical net port (off-sheet connector) on a schematic to create a named connection across sheets and ensure it appears in the netlist.
Instructions
Place a hierarchical net port (off-sheet connector) on the schematic. Net ports create named connections that span multiple schematic sheets, appearing as real SCH_Net entries in the netlist.
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_port"
}
}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 for the port (e.g. VCC, GND, DATA_BUS) | |
| portType | No | Electrical type of the port | |
| 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. | |
| 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 | |||