eda_sch_primitive_object_create
Create a binary embedded object in a schematic at specified coordinates, with optional size, rotation, mirror, and file name. Returns the created primitive object.
Instructions
sch_PrimitiveObject.create(content: File | string, startX: number, startY: number, width?: number, height?: number, rotation?: number, mirror?: boolean, fileName?: string) -> Promise<ISCH_PrimitiveObject | undefined> 创建二进制内嵌对象 returns: 二进制内嵌对象图元对象
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_object_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |