eda_sch_primitive_rectangle_get
Get a schematic rectangle primitive by its ID from an EasyEDA Pro project. Returns the rectangle object or undefined when the ID is invalid.
Instructions
sch_PrimitiveRectangle.get(primitiveIds: string) -> Promise<ISCH_PrimitiveRectangle | undefined>
获取矩形
returns: 矩形图元对象,undefined 表示获取失败
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eda_sch_primitive_rectangle_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |