eda_sch_primitive_component_get_all
Retrieve all schematic primitive components from an EasyEDA Pro project, optionally across all schematic pages, to support automated inspection and design analysis.
Instructions
sch_PrimitiveComponent.getAll(componentType?: ESCH_PrimitiveComponentType, allSchematicPages?: boolean) -> Promise<Array<ISCH_PrimitiveComponent>> 获取所有器件 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_component_get_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |