pcb_create_component
Place a component from your library onto the PCB at specified coordinates, layer, and rotation using the component and library UUIDs.
Instructions
从库中放置元件到 PCB
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": {
"libraryUuid": "<libraryUuid>",
"componentUuid": "<componentUuid>",
"layer": "<layer>",
"x": "<x>",
"y": "<y>"
},
"name": "pcb_create_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X 坐标 (mil) | |
| y | Yes | Y 坐标 (mil) | |
| layer | Yes | 层号 (1=顶层, 2=底层) | |
| rotation | No | 旋转角度 | |
| libraryUuid | Yes | 库 UUID | |
| componentUuid | Yes | 元件 UUID |