femm_export_pyfemm_script
Export the current session journal as a standalone pyFEMM script so users can re-run the full finite element model without the AI agent.
Instructions
Write the session journal as a standalone pyFEMM script (import femm; femm.openfemm(1); femm.mi_...(); femm.closefemm()) so the user can re-run the whole model without the agent. Default path: <work_dir>/scripts/_pyfemm.py. femm_eval expressions that are not plain calls are kept as comments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "femm_export_pyfemm_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| session | No | main | |
| headless | No |