add_wire
Add a Manhattan wire: routes through points inserting L-corners for axis-aligned segments. Specify layer, width, and horizontal-first direction.
Instructions
Add a Manhattan wire: routes through points inserting L-corners so every
segment is axis-aligned. horizontal_first chooses the corner direction at each
dog-leg. For layer changes, drop an add_via at the turn. Coordinates in um.
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": {
"layer": "<layer>",
"points": "<points>",
"width": "<width>"
},
"name": "add_wire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| width | Yes | ||
| points | Yes | ||
| datatype | No | ||
| horizontal_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |