Restart Worker
restart_workerKill the current workspace's wedged FreeCAD worker and spawn a fresh process to recover from a desynced or stuck state. Save first; unsaved changes in that 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: [...]}.
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": "restart_worker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Run this call in this named workspace |