create_component
Create a new component in the Splice parts database with specs, images, and pin labels, using lookup_part to fetch image/datasheet URLs.
Instructions
Create a component in the Splice parts database with full specs, images, and pin labels. Use lookup_part first to get image/datasheet URLs. Categories: "connector" (default), "circuit_breaker", "fuse", "relay", "contactor", "switch", "push_button", "motor", "pcb", "power_supply", "battery", "diode", "fan", "timer", "inductor", "capacitor", "resistor", "transformer", "solar_cell", "inverter", "flying_lead", "splice", "terminal_point", "other".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpn | Yes | Manufacturer Part Number (e.g. "DT04-4P") | |
| rows | No | Number of pin rows | |
| shape | No | Connector shape: rectangular, circular, dsub, terminal_block, ferrule, ring, quickdisconnect, other | |
| gender | No | Connector gender | |
| series | No | Connector series (e.g. "DT", "Micro-Fit 3.0") | |
| img_url | No | URL to product image | |
| category | No | Component category | connector |
| pitch_mm | No | Pin pitch in mm | |
| is_public | No | Make visible to other users | |
| positions | Yes | Number of pins/positions | |
| custom_svg | No | Custom SVG graphics for both sides of the connector | |
| pin_labels | No | Pin labels in order (e.g. ["VCC","GND","TX","RX"]) | |
| description | No | Part description | |
| manufacturer | Yes | Manufacturer name (e.g. "Deutsch") | |
| wire_awg_max | No | Max wire gauge (AWG) | |
| wire_awg_min | No | Min wire gauge (AWG) | |
| datasheet_url | No | URL to datasheet PDF | |
| category_specs | No | Category-specific properties (e.g. current_rating, voltage_rating, coil_voltage) |