Add cable
add_cableAdd a multi-conductor cable between two connectors, mapping pins 1:1 by name/order or via explicit conductor pairs, with optional tag, gauge, length, and spec.
Instructions
Add a multi-conductor cable between two connectors, e.g. from "B1:X1" to "IO1:X2". Pins are mapped 1:1 (same pin names, else pin order) unless conductors are given. Tag defaults to the next free W1, W2…
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": {
"project_id": "<project_id>",
"from": "<from>",
"to": "<to>"
},
"name": "add_cable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | "TAG:CONNECTOR" | |
| tag | No | ||
| from | Yes | "TAG:CONNECTOR" | |
| spec | No | Printed on the bundle, e.g. "4×0.34 PUR 5m" | |
| gauge | No | Default gauge for its conductors. Wire gauge: AWG ("18", "14 AWG", "1/0") or mm² ("1.5 mm²"). A bare number follows the project's gauge units. Default: the signal type's gauge. | |
| length | No | Cable length in the project's length unit (ft default, or m; update_project length_unit). Its conductors inherit it. null = unset. | |
| conductors | No | Explicit pin map instead of 1:1 | |
| project_id | Yes |