check_infinigen
Verify Infinigen installation and accessibility to ensure the 3D scene generation tool is ready for creating photorealistic environments and assets.
Instructions
Check if Infinigen is properly installed and accessible
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:99-112 (handler)The handler function that executes the tool logic by checking Infinigen installation via a Python command.async function checkInfinigenInstallation(): Promise<{ installed: boolean; version?: string; error?: string }> { try { await execAsync("python -m infinigen_examples.generate_nature --help"); return { installed: true, version: "Infinigen is accessible", }; } catch (error) { return { installed: false, error: error instanceof Error ? error.message : "Unknown error", }; } }
- src/index.ts:86-94 (schema)The input schema and metadata for the check_infinigen tool, with no required inputs.{ name: "check_infinigen", description: "Check if Infinigen is properly installed and accessible", inputSchema: { type: "object", properties: {}, }, }, ];
- src/index.ts:191-201 (registration)The tool dispatch registration in the CallToolRequestSchema handler's switch statement.case "check_infinigen": { const result = await checkInfinigenInstallation(); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; }
- src/index.ts:181-183 (registration)Registration for listing tools, which includes the check_infinigen tool via the TOOLS array.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: TOOLS }; });