femm_add_segments
Add straight segments to a FEMM model using coordinate pairs; endpoints are created as needed and crossing segments are split by FEMM.
Instructions
Add straight segments [[[x1,y1],[x2,y2]], ...] (or [x1,y1,x2,y2] each). End nodes are created as needed. Segments that cross are split by FEMM at the intersection.
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": {
"segments": "<segments>"
},
"name": "femm_add_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | main | |
| segments | Yes |