lib_create_symbol
Create a new schematic symbol in the active EasyEDA Pro library, including multi-part components with configurable part counts for defining sub-parts and shared pins.
Instructions
Create a new schematic symbol in the active library.
Args:
name: Component name
designator_prefix: Default designator prefix (e.g., "U", "R", "C")
description: Component description
part_count: For multi-part components (quad op-amp, dual gate,
etc), the number of sub-parts. Pins added via lib_add_pins
with owner_part_id set to 1..part_count are assigned
to that sub-part; owner_part_id=0 shares the pin
across all sub-parts (the usual power-pin pattern on a
quad op-amp).
Returns: Dictionary with created symbol information
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": {
"name": "<name>"
},
"name": "lib_create_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| part_count | No | ||
| description | No | ||
| designator_prefix | No | U |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||