What problem does it solve?
Developers need a scalable way to register reusable tools that execute in the browser and render custom UI for tool calls in LLM-powered assistants. This skill provides a standardized approach to define tools (name, parameters, execute), attach UI renderers, and enable human-in-the-loop interactions within the same runtime.
Core Features & Use Cases
- Registers tools in the frontend using makeAssistantTool and exposes an execution pipeline that can stream results.
- Renders interactive UIs for tool calls with makeAssistantToolUI and supports human-in-the-loop confirmation patterns.
- Supports multiple tools and UI components (hooks, conditional registration, and frontend-only tools) to build rich assistant workflows.
- Use Case: Build a virtual assistant that can call a weather tool, search tool, or data processor and present results in a cohesive UI with optional user confirmations.
Quick Start
Register a new tool with makeAssistantTool and render its UI using makeAssistantToolUI in your assistant app.