compose
Place blocks you already chose and join nets you name on ONE project. blocks is an array of {id, prefix?} objects (id is required) or bare catalog id strings. Example: {project_id, blocks: [{id:"usb-c-sink-5v", prefix:"USB"}, {id:"ldo-ams1117-3v3", prefix:"LDO"}, "mcu-esp-module"], connections: [{name:"V5", members:["USB.VBUS","LDO.VIN"]}, {name:"V3V3", members:["LDO.VOUT","MCU.VCC"]}]}. Connect every required port (power rails, ground, control signals). Unconnected required ports are errors with a suggested connection — fix them before simulating or exporting. Typed ports on a joined net are checked: rail voltage and current, logic level, analog range, bus type. Copper between blocks is not routed.
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": {
"blocks": "<blocks>"
},
"name": "compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | Yes | Blocks to place. Each item is {id (required), prefix?} or a bare block id string. | |
| common_gnd | No | ||
| project_id | No | ||
| connections | No | Named nets joining ports as PREFIX.NET. | |
| idempotency_key | No |