Update cable
update_cableChange a cable by tag or ID to edit tag, spec, gauge, length, endpoints, pin map (reset or replace), or draw mode; omitted fields stay unchanged.
Instructions
Change a cable by tag or id: retag, spec, gauge, length, either end (the pin map resets to 1:1), replace the whole pin map (conductors), reset it (reset_pin_map), or set the draw mode. Omitted fields stay the same.
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>",
"cable": "<cable>"
},
"name": "update_cable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | "TAG:CONNECTOR" | |
| draw | No | ||
| from | No | "TAG:CONNECTOR" | |
| spec | No | "" clears it | |
| cable | Yes | Cable tag (W1) or id | |
| gauge | No | Default gauge for its conductors; "" clears it. 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; its conductors inherit it. null clears it. | |
| new_tag | No | ||
| conductors | No | Replaces the pin map | |
| project_id | Yes | ||
| reset_pin_map | No |