femm_build_benchmark
Builds a validated FEMM benchmark model from scratch, returning its groups, circuits, and analytic estimates for magnetics simulations.
Instructions
Build a validated benchmark model from scratch (new magnetics document, saved to path,
default <work_dir>/.fem) and return its groups, circuits and analytic estimates:
'ccore' (planar U-core + armature, groups armature=1 core=2 coil=3, circuit 'coil'),
'coilgun' (axisymmetric coil + iron slug group 1), 'spm' (12-slot 4-pole surface PM machine,
params rotor_method='rotate'|'age', rotor groups [1,10] or AGE boundary 'AGE', circuits A/B/C),
'round_wire' (copper wire in an A=0 circle for AC sweeps). params are the builder keyword
arguments (e.g. {"gap": 0.5, "turns": 100}); see femm_agent.benchmarks.
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_build_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| path | No | ||
| params | No | ||
| session | No | main |