femm_select
Select FEMM objects by nearest points, group, rectangle, or circle to prepare them for move, delete, group, and other edit operations.
Instructions
Select objects for a following edit (femm_move_selected, femm_delete_selected,
femm_set_group ...). kind:
nodes | segments | arcs | labels -> nearest object to each of points [[x, y], ...]
group -> every object in group
rectangle -> objects inside rectangle=[x1, y1, x2, y2]
circle -> objects inside circle=[cx, cy, R]
entities (rectangle/circle only): nodes|segments|labels|arcs|all.
Returns what FEMM reports for each pick (the coordinates of the selected object).
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": {
"kind": "<kind>"
},
"name": "femm_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| group | No | ||
| circle | No | ||
| points | No | ||
| session | No | main | |
| entities | No | all | |
| rectangle | No | ||
| clear_first | No |