add_polygon
Create a polygon on a specified GDS layer by providing vertex coordinates as [x, y] pairs in micrometers.
Instructions
Add a polygon from a list of [x, y] vertices (micrometers).
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>"
},
"name": "add_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| points | Yes | ||
| datatype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |