get_unreal_engine_path
Retrieve the current Unreal Engine installation path to configure development environments or resolve missing engine dependencies.
Instructions
Get the current Unreal Engine path
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": "get_unreal_engine_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server/index.ts:114-127 (handler)The handler function for the 'get_unreal_engine_path' tool. It checks if the enginePath variable is set and returns it as text content if available, otherwise throws an error. This is also the registration point using server.tool.
server.tool("get_unreal_engine_path", "Get the current Unreal Engine path", async () => { if (!enginePath) { throw new Error("Unreal Engine path is not set") } return { content: [ { type: "text", text: `Unreal Engine path: ${enginePath}`, }, ], } })