eda_sch_primitive_bus_modify
Modify a schematic bus primitive by updating its name, line configuration, color, or line type. Returns the updated bus object.
Instructions
sch_PrimitiveBus.modify(primitiveId: string | ISCH_PrimitiveBus, property: { busName?: string; line?: Array | Array<Array>; color?: string | null; lineWidth?: number | null; lineType?: ESCH_PrimitiveLineType | null }) -> Promise<ISCH_PrimitiveBus | 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_bus_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |