femm_draw_polygon
Draws a polygon from coordinate points in a FEMM model, connecting nodes and closing the loop by default, then returns its vertex centroid for use as a block label.
Instructions
Polygon through [[x, y], ...]: nodes + segments, closed back to the first point by default. Returns the vertex centroid (a block-label candidate only if the polygon is convex).
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": {
"points": "<points>"
},
"name": "femm_draw_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | No | ||
| points | Yes | ||
| session | No | main |