Restart Editor
hf_restart_editorRestart the Unreal editor when C++ changes require it: save, close, build the editor target, reopen, and reconnect in one call; build failures return errors without reopening.
Instructions
Save everything, close the Unreal editor, build the project's editor target, reopen the project and reconnect, in one call (a few minutes). Use it when a C++ change cannot load while the editor runs: a compile result says restart_required, a module dependency was added, or a new class did not register. The user approves it. If the build fails, the editor is not reopened and the errors come back.
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": "hf_restart_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | hf_save_all first. Default true. | |
| build | No | Build before reopening. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||