Restart Worker
restart_workerRestart the current workspace’s FreeCAD worker process to recover from a wedged or desynced state. All open documents and unsaved changes in this workspace are lost.
Instructions
Kill the current workspace's FreeCAD worker process and spawn a fresh one. Use when the worker is wedged (e.g. App.ActiveDocument desynced from internal state). All open documents, unsaved changes, and handles in THIS workspace are lost — save first if needed. Other workspaces are untouched. Returns {restarted: True, workspace: , freecad: [...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||