Add schematic polygon
easyeda_schematic_add_polygonDraw a closed, cosmetic polygon on an EasyEDA Pro schematic from 3 or more vertices to create custom shapes, callout arrows, or block diagram elements without electrical meaning.
Instructions
Draw a closed polygon on the schematic sheet from 3+ vertices — custom decorative shapes, callout arrows, or block diagram elements. Cosmetic only, no electrical meaning.
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": {
"points": "<points>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_add_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| points | Yes | ||
| lineType | No | ||
| fillColor | No | Fill color, hex string, or "none" for unfilled | |
| lineWidth | No | ||
| 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 | |||