"use client"; /** * Test panel: suggested prompts and short instructions so users can try MCP tools. * Tool calls from the assistant will appear in the chat thread when they run. */ export function ToolCallPreview() { const suggestions = [ "Show me a rotating cube with Three.js", "Use learn_threejs to get Three.js documentation and examples", "Create a simple 3D scene with a sphere and lighting", ]; return (
Use the chat to trigger tool calls. This panel gives you starter prompts while the conversation thread shows actual tool invocations and results.
Tip
Make sure the Three.js MCP server is running (for example{" "}
pnpm dev from
the repo root) before testing `show_threejs_scene`.