add_box
Add a rectangle to a GDS layout by providing layer, datatype, and corner coordinates in micrometers.
Instructions
Add a rectangle (micrometers) on GDS layer/datatype.
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>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "add_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| layer | Yes | ||
| datatype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |