register_custom_chip
Register or override a third-party MCU pinout and peripheral multiplexing rules so circuit-agent can build accurate schematics and netlists.
Instructions
Register or dynamically override a third-party microcontroller pinout and peripheral multiplexing rule.
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": {
"chip_id": "<chip_id>",
"pins": "<pins>"
},
"name": "register_custom_chip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pins | Yes | List of available GPIO and power pins | |
| chip_id | Yes | Unique identifier, e.g. 'CH32V003F4P6' | |
| package | No | Physical package, e.g. 'TSSOP-20', 'QFN-32' | |
| mcu_family | No | MCU family, e.g. 'QingKe-RISC-V', 'ARM-Cortex-M0+' | |
| description | No | Human-readable description of the chip | |
| pin_numbers | No | Map of pin names to physical pin numbers, e.g. {'PD1': '8'} | |
| reserved_pins | No | Map of reserved pins and reasons, e.g. {'PD1': 'SWDIO', 'NRST': 'RESET'} | |
| supply_voltage | No | Operating voltage (typically 3.3 or 5.0) | |
| peripheral_routes | No | Peripheral routing defaults, e.g. {'I2C1': {'I2C_SCL': 'PC2', 'I2C_SDA': 'PC1'}} | |
| default_gpio_assignments | No | Default signal mappings, e.g. {'/LED1': 'PD4'} |