Add schematic rectangle
easyeda_schematic_add_rectangleDraw a rectangle on the schematic sheet to create section dividers or grouping boxes that organize a busy schematic into labeled functional blocks, paired with add_text for titles.
Instructions
Draw a rectangle on the schematic sheet — section dividers/grouping boxes for organizing a busy schematic into labeled functional blocks (pair with add_text for the title). Cosmetic only. x/y is the top-left corner; fillColor "none" leaves it unfilled.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_add_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| color | No | Border/line color, hex string (e.g. "#FF0000") | |
| width | Yes | ||
| height | Yes | ||
| lineType | No | ||
| rotation | No | ||
| fillColor | No | Fill color, hex string, or "none" for unfilled | |
| fillStyle | No | ||
| lineWidth | No | ||
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| cornerRadius | No | ||
| 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 | |||